From: Geremy.E.Cohen@WellsFargo.COM
Date: Fri Sep 06 2002 - 14:03:59 EDT
Hello All-
Given a line of text that a word, how could I use sed, awk, etc to convert:
FOO
to
<FOO>FOO<FOO>
?
Basically, given a pattern, I want to insert and append a string based on
that pattern around it.
I assume sed or awk can do this, but Im not sure how . . .
tia,
geremy
-- Geremy E. Cohen Wells Fargo Bank Information Security Analyst Security Production Services, ESM 155 Fifth Street, San Francisco, Ca. 94103 -- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:19 EDT