4
4

More than 5 years have passed since last update.

パイプでフラッシュされる単位を制御するコマンド

Last updated at Posted at 2015-07-19

3秒ぐらいで思いついた方法

全てを一気にフラッシュ(OSXなら-dの代わりに-D)
CommandA | base64 | base64 -d | CommandB
行単位でフラッシュ
CommandA | while read line; do echo $line; done | CommandB
文字単位でフラッシュ(Bash専用)
# CommandA | while read -n 1 char; do echo -n $char; done | CommandB
# ちゃんと動かなかったので却下

編集リクかコメントで汎用性高い方法とかあったら教えて下さい

4
4
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4