![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | 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 |
| Request Tracker | sparcguy | SUN Solaris | 6 | 2 Weeks Ago 02:39 PM |
| Request | moe2266 | Post Here to Contact Site Administrators and Moderators | 1 | 11-30-2007 10:08 AM |
| a request for help... | patrick99e99 | UNIX for Advanced & Expert Users | 1 | 07-24-2006 11:50 PM |
| Async DNS request | LocalStorm | SUN Solaris | 1 | 12-17-2005 08:32 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Request sed help
Hi,
I've got two values say "var1" and "var2". I want to replace the occurence of "var1" in the header of a file with "var2". Something like this - head -1 header.dat | sed "/s/$var1/$var2" which I know is wrong. Can someone help me out here. Thx |
| Forum Sponsor | ||
|
|