scripting fun
Derek Broughton
news at pointerstop.ca
Thu Jun 5 23:34:54 UTC 2008
Mike Bird wrote:
> On Thu June 5 2008 11:58:42 Derek Broughton wrote:
>> > > join -v2 < (sort <~/temp/blocked.txt | uniq ) ...
>>
>> and what's the input redirector to sort doing?
>
> The name of a temporary file (or socket or named pipe ...)
> of the output of the "sort <~/temp/blocked.txt | uniq"
> pipeline is substituted as an argument to the join.
That wasn't what I asked. Why is there an input redirector _to sort_. sort
takes a file argument, so why redirect stdin? And there's certainly no
value to using "uniq" independent of sort's own ability to do it.
--
derek
More information about the ubuntu-users
mailing list