![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| replace nth instance of string | uttamhoode | Shell Programming and Scripting | 4 | 04-03-2008 03:25 AM |
| sed replace 2nd instance | katrvu | Shell Programming and Scripting | 2 | 02-12-2008 02:17 PM |
| OTRS instance | naik_mit | Linux | 7 | 05-23-2005 07:42 AM |
| Copy Db Instance | cobdeng | UNIX for Dummies Questions & Answers | 0 | 01-12-2005 07:48 AM |
| finding first instance | peter.herlihy | UNIX for Dummies Questions & Answers | 20 | 08-14-2002 04:52 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
replace first instance(not first instance in line)
Alright, I think I know what I am doing with sed(which probably means I don't). But I cant figure out how to replace just the first occurance of a string. I have tried sed, ed, and grep but can't seem to figure it out. If you have any suggestions I am open to anything!
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|