![]() |
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 |
| help with finding & replacing pattern in a file | dusoo | Shell Programming and Scripting | 0 | 05-23-2008 03:59 AM |
| Finding nth occurrence in line and replacing it | stresing | UNIX for Dummies Questions & Answers | 5 | 02-01-2008 04:56 AM |
| How to call SQL procedure from UNIX Shellscript ? | varungupta | UNIX for Advanced & Expert Users | 1 | 03-05-2007 11:12 AM |
| finding & replacing blank rows/spaces in a file | Gerry405 | SUN Solaris | 2 | 07-21-2005 04:49 AM |
| replacing os7 w/ unix | frznmeatcicle | UNIX for Dummies Questions & Answers | 2 | 01-15-2003 10:09 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
shellscript for finding and replacing in DG-UNIX
Newby here.....
Is there any way of doing a find & replace within a huge file other than using something like : " vi - FileForReplacing < /u1/excel/consultants " contents of consultants file looks like :1,$s/0000031/CON/g :1,$s/0001032/JONES/g :1,$s/0001355/SMITH/g :1,$s/0002095/ARMSTRONG/g....etc! etc! etc! the consultants file is quite large and this make the script run for sometime before it finishes |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|