[NTLUG:Discuss] sed awk question

Chris Cox cjcox at acm.org
Mon Aug 12 15:35:12 CDT 2002


David Stanaway wrote:

>On Mon, 2002-08-12 at 14:56, Chris Cox wrote:
>  
>
>>-W1.... where did that come from?  Just curious.
>>    
>>
>
>       -W, --check-fields=N
>              compare no more than N fields in lines
>
> Manual page uniq(1) line 43
>
>dstanawa at ciderbox:~$ uniq --version
>uniq (GNU textutils) 2.0
>Written by Richard Stallman and David MacKenzie.
>
>Copyright (C) 1999 Free Software Foundation, Inc.
>This is free software; see the source for copying conditions.  There is
>NO
>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>PURPOSE.
> 
>  
>
ccox at palette:/realhome/ccox> uniq --version
uniq (GNU textutils) 2.0.10
Written by Richard Stallman and David MacKenzie.

Copyright (C) 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ccox at palette:/realhome/ccox> uniq -W1
uniq: invalid option -- W
Try `uniq --help' for more information.

ccox at palette:/realhome/ccox> uniq --check-fields=1
uniq: unrecognized option `--check-fields=1'
Try `uniq --help' for more information.

Hmmm... a mystery...it's not in my man page either.







More information about the Discuss mailing list