Shell redirection is rewinding?!?

bscott at ntisys.com bscott at ntisys.com
Wed Feb 18 00:23:12 EST 2004


Hello list,

  Okay, maybe it's just entirely too late and I just need sleep, but I've
got what my brain tells me is a weird one.

  I want to run

	makewhatis -v -w

but it is producing huge volumes of output.  So I want to redirect to a
file.  I also want to save all the errors and such that go to stderr.  So I 
do this:

	makewhatis -v -w >makewhatis.out 2>&1

That runs for awhile.  The "makewhatis.out" file gets bigger and bigger.  
If I "tail" it, I can see it growing.  It gets up to at least 45 kilobytes.

  When the command finishes, the file ends up containing one line, and
totals 33 bytes.

  Could someone here slap me upside the head and point me in the right
direction?

  advTHANKSance

-- 
Ben Scott <bscott at ntisys.com>
| The opinions expressed in this message are those of the author and do  |
| not represent the views or policy of any other person or organization. |
| All information is provided without warranty of any kind.              |




More information about the gnhlug-discuss mailing list