Re: Filename pattern in grep --include=....

2006-02-01 Thread Philip Rowlands
On Tue, 31 Jan 2006, Com MN PG P E B Consultant 3 wrote: From the grep man-page: --include=PATTERN Recurse in directories only searching file matching PATTERN. GNU grep is not a coreutil, so this isn't the best mailing list for grep questions. What type of PATTERN can be

Filename pattern in grep --include=....

2006-02-01 Thread Com MN PG P E B Consultant 3
>From the grep man-page: --include=PATTERN Recurse in directories only searching file matching PATTERN. What type of PATTERN can be used here (i.e. glob, regex, extended regex, etc.)? For example, I want to search recursively below a directory D, but want to check only files

od -t a to warn for non-ASCII

2006-02-01 Thread Ed Avis
If you run 'od -t a' then the high bit is silently stripped out of the input. This can cause a bit of confusion (especially when dealing with char 160 (non-breaking space) in ISO-8859-1 which strips down to a regular space...) I suggest that when 'od -t a' encounters the first high-bit-set c