![]() |
|
|
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 |
| Awk and Variables | deepak4you | Shell Programming and Scripting | 4 | 11-15-2007 09:18 AM |
| Variables | bobo | UNIX for Dummies Questions & Answers | 1 | 01-19-2007 01:37 AM |
| doing a sed with variables | seaten | Shell Programming and Scripting | 1 | 05-06-2005 04:08 PM |
| doing a sed with variables | seaten | UNIX for Dummies Questions & Answers | 1 | 05-06-2005 03:48 PM |
| Using Variables to Set Other Variables | superdelic | UNIX for Dummies Questions & Answers | 3 | 04-21-2005 11:44 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
doing a sed on certain variables
Hi guys,
I want to replace certain values with the number 1. But it is also replacing other values which contain the value I want to replace. e.g.: I want to replace ID-INTERNAL with 1, that's no problem but it will also replace ID-INTERNAL-NON-REM with 1-NON-REM I don't want to replace that. I tought of doing grep -w ID-INTERNAL but that still returns both any ideas ? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|