![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help with post:extract multiple columns from multiple files | manishabh | Shell Programming and Scripting | 0 | 08-19-2009 01:09 PM |
| extract multiple cloumns from multiple files; skip rows and include filenames; awk | manishabh | Shell Programming and Scripting | 4 | 08-18-2009 10:55 PM |
| Multiple search string in multiple files using awk | pinnacle | Shell Programming and Scripting | 0 | 05-05-2009 12:08 PM |
| Combine multiple columns from multiple files | martva | Shell Programming and Scripting | 5 | 12-02-2008 09:23 AM |
| Adding Multiple Lines to Multiple Files | dayinthelife | Shell Programming and Scripting | 2 | 06-04-2008 11:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
sed on multiple files?
Hi,
I want to do a search and replace on multiple text files. Can I use sed to do this? i.e. I want to do something like: Code:
$ sed *.html -e 's/<\/body>/<\!-- blah -->\n<\/body>/' | grep -1 body how would one go about this last bit? Regards, Maek |
![]() |
| Bookmarks |
| Tags |
| multiple files, search and replace, sed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|