>I have some files that I want to replace <USERNAME> with something like
>joe.somebody
>
>the files are in multiple locations:
>
>/location1/file1
>/location2/file2
>/location3/*.xml
>
>I have tried to figure out how to do this with sed but I'm not having any
>luck. Any sed people out there that can point me to the correct sed command
>line.
The sed command is as simple as using a subset of vi:
sed -e "s/<USERNAME>/joe.somebody/g" inputfile > outputfile
MB
--
e-mail: [EMAIL PROTECTED] /~\ The ASCII
\ / Ribbon Campaign
X Against
Visit - URL: http://vidiot.com/ / \ HTML Email
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list