[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
How do I apply a substitution to a bunch of files [eg *.htm] and then save the results back under the same file names. The following works for one file at at time: sed 's/whatever/youwant/' onefile.htm > onefile.html but I've got lots of files and its going to take ages. Anybody who can come up with a one liner? Mark ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.