Use sed, e.g.,


cat infile | sed -n 's/NOT NULL//g' > outfile



On Mon, 11 Sep 2000, Dan Browning wrote:

> what command do I use to substitute all occurences of a certain string (say,
> "NOT NULL") with another arbitrary string, (e.g. "")?  I've tried grep and
> tr, but can't figure it out.
> 
> Thanks,
> 
> Dan Browning
> Network & Database Administrator
> Cyclone Computer Systems
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to