[ILUG] BaSh or perl scripting q

Padraig Brady padraig at antefacto.com
Thu Aug 30 16:31:21 IST 2001


Padraig Brady wrote:

> How about:
>
> find /path/of/indexfile /dir/to/scan -type f | xargs cat | tr -cs 
> "[:alnum:]-" "\n" | sort | uniq -u

Following should be better (allows ' in words and ignores case differences):

find /path/of/indexfile /dir/to/scan -type f | xargs cat | tr -cs 
"[:alnum:]-'" "\n" | sort -f  | uniq -iu

Padraig





More information about the ILUG mailing list