Re: Intent to Rewrite: pwgen
Je Thu, 31 May 2001 18:26:39 -0400,
tytso@thunk.org scribis:
> It's not that strange; /bin/ls does it. If /bin/ls notices that
> stdout (sorry, I should have said isatty(1)) is a tty, then the -C
> option is implied; otherwise the -1 option is implied.
With ls it's reasonable, but the following is something that drives me
crazy. Try it with a 1-line file, foo:
tail -f foo | more works
tail -f foo | grep . works
tail -f foo | grep . | more doesn't work
Looks like grep has different behaviour depending on if stdout is a
tty?
-itai
Reply to: