![]() |
|
|
|
|
|||||||
| 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 |
| grep a string from 2 text files | karthikn7974 | Shell Programming and Scripting | 15 | 04-24-2008 12:15 AM |
| text substitution | yakari | Shell Programming and Scripting | 3 | 03-07-2008 06:33 AM |
| string substitution | laxmi | Shell Programming and Scripting | 3 | 02-16-2008 02:11 AM |
| String Substitution | laxmi | UNIX for Advanced & Expert Users | 1 | 02-16-2008 02:08 AM |
| Sed String Substitution | pciatto | UNIX for Dummies Questions & Answers | 2 | 04-29-2002 07:10 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
The auditors have nailed us for world writeable files....
Apparently in years gone by, quite a number of our kornshell scripts have had: umask 000 put in the script. We have been able to turn off world writeable for existing dirs & files, but as these scripts run, new files keep getting created. I used a utility many years ago which would do a string substitution within a series of files. I would like to unilaterally comment out all umask commands within all of our scripts without having to modify them 1 at a time. Running under Sun Solaris 7. Any ideas out there? |
| Forum Sponsor | ||
|
|
|
||||
|
I've had to do similar things a number of times. Each time I use a simple one line PERL command.
I think an example is in the forums database and a key word search might find it. Here is one particular thread: find pattern in FILES and replace it ?? |
||||
| Google The UNIX and Linux Forums |