sed -i 's/match/replacement/g' file
-> writes on file
sed -i.bak
-> writes and backups original file
Just another WordPress site
sed -i 's/match/replacement/g' file
-> writes on file
sed -i.bak
-> writes and backups original file
This entry was posted by admin on September 19, 2010 at 12:21 am under bash, linux. You can leave a response, or trackback from your own site. Follow any responses to this entry through the RSS 2.0 feed.
Leave a Reply
You must be logged in to post a comment.