![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with grep on search string in a txt file over multiple files | m00 | UNIX for Dummies Questions & Answers | 2 | 05-18-2008 11:21 AM |
| last occurrence of a string across multiple files | porphyrin | UNIX for Dummies Questions & Answers | 2 | 12-24-2007 05:39 AM |
| Find and replace a string in multiple files | pharos467 | UNIX for Dummies Questions & Answers | 2 | 11-05-2007 07:47 PM |
| How can I rename multiple files depending on a string occuring in the filenames? | karman | UNIX for Dummies Questions & Answers | 6 | 05-22-2007 11:29 AM |
| String replacement in multiple files | WABonnett | Shell Programming and Scripting | 2 | 02-17-2004 11:49 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
I am trying to edit multiple files from one directory and including all the files in all the sub directories. My string opens each file, puts the text on my screen and does not save the new information to the file. I am using a variable in my script, and wondering if that is what is choking it.
so basically.... I have an instance of Bob in several files I want to rename to a variable name. the script asks for the variable and runs with it. But no output. Any ideas?? What I am using is this find /path/$variable -print -exec sed -e "s/bob/$variable/" {} \; Thank you!! |
| Forum Sponsor | ||
|
|