Perplexed

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
Subject: Perplexed
you mean that it writes to tet-sor first? So then the proper wa6y to do =
this=20
would be uniq test-so |>test-sor ?

On Friday 28 February 2003 04:32 pm, Kevin Buettner wrote:
> On Feb 28, 4:26pm, Michael Havens wrote:
> > Why would I have a file, uniq the output, have the output redirected =

to a
> > file, and the file be blank when I tried to look at it?
>
> [...]
>
> > [bmike1@localhost training]$ uniq test-sor >test-sor
> > [bmike1@localhost training]$ more test-sor
>
> Because the file is truncated by the shell before ``uniq'' gets to oper=

ate
> on it. By the time ``uniq'' opens it, it's already empty.
>
> Kevin
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


--=20
:-)~Mike~(-: