From: davidsen@ariel.crd.GE.COM (william E Davidsen) Subject: Re: ! on the command line? Date: 15 Oct 1992 15:54:51 GMT
In article <718857952snx@grendel.demon.co.uk>, jes@grendel.demon.co.uk (Jim Segrave) writes:
| file * | sed '/text/!d'
|
| to list only those files which are text files of some sort.
a) sounds like a bug to me
b) did you run it as sh or bash? Some things change
c) you can disable this with an option (which I can't remember)
d) or use sed -n '/text/p'
e) or grep 'text'
--
bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
Keyboard controller has been disabled, press F1 to continue.