On Thu, Mar 04, 2004, Kyle wrote:
>hi
>need a little help
>I would like to search a group of files for text and replace that text with
>another text.
>ex.
>search for numformat 44 and replace with numformat .
You can do this with sed, awk, perl, or other tools with a bit of
work, or use the GNU shtool, and to it trivially:
shtool subst \
-e 's/numformat 44/numformat/g' \
*.txt
Bill
--
INTERNET:
bill@Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL:
http://www.celestial.com/
``During times of universal deceit, telling the truth becomes
a revolutionary act.'' --George Orwell