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.

perl -pi -e "s/NOT NULL/bill gates is a donut/g" <filename>

rday

-- 
"This is Microsoft technical support.  How may I misinform you?"




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

Reply via email to