Mark Bixby replied:
> POSIX to the rescue:
>
> grep -v '^[0-9A-Z ]*$' DATAFILE
>
> This says select all lines that are not (-v) consisting of multiple (*)
> digits (0-9), uppercase letters (A-Z), and spaces ( ) from the start of the
> line (^) through the end of the line ($).
>
> POSIX regular expression pattern matching (regexp) packs a lot of power in
> just a few characters.
>
> For full regexp documentation, go into sh.hpbin.sys and say "man regexp".
Thank you , Mark. I was hoping someone would come up with some
POSIX/grep/awk type syntax (of which I am ignorant) as a solution. I
am liking Posix more and more !
Cheers,
--
John Dunlop
E-mail : [log in to unmask]
Web : http://homepages.tcp.co.uk/~jdunlop/
"All your HP3000 resources on the Net"