in message [EMAIL PROTECTED],
wrote Charles Swiger thusly...
On Jan 20, 2004, at 1:56 PM, Ion-Mihai Tetcu wrote:
CUCU=`cat /path/do/dir/* | some_filer_program`
and have in $CUCU the distinct lines from all the files.
Try:
CUCU=`cat /path/to/files/* | sort | uniq`
Better yet...
On Tue, 20 Jan 2004 20:56:21 +0200
Ion-Mihai Tetcu [EMAIL PROTECTED] wrote:
Hi,
I know I have done this before, but I don't remember how ;)
I have a collection of text files in one directory, and each file can
contain one or more lines of text, of which any of them could also be in
On Jan 20, 2004, at 1:56 PM, Ion-Mihai Tetcu wrote:
CUCU=`cat /path/do/dir/* | some_filer_program`
and have in $CUCU the distinct lines from all the files.
Try:
CUCU=`cat /path/to/files/* | sort | uniq`
--
-Chuck
___
[EMAIL PROTECTED] mailing list
On Tue, 20 Jan 2004 14:02:54 -0500
Charles Swiger [EMAIL PROTECTED] wrote:
On Jan 20, 2004, at 1:56 PM, Ion-Mihai Tetcu wrote:
CUCU=`cat /path/do/dir/* | some_filer_program`
and have in $CUCU the distinct lines from all the files.
Try:
CUCU=`cat /path/to/files/* | sort | uniq`