![]() |
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 |
| doubt in awk | jisha | Shell Programming and Scripting | 4 | 04-16-2008 04:02 AM |
| AWK doubt | Rafael.Buria | Shell Programming and Scripting | 2 | 02-06-2008 11:00 AM |
| doubt about awk | soujanya_srk | UNIX for Dummies Questions & Answers | 2 | 01-10-2008 05:26 PM |
| awk doubt.. | esham | Shell Programming and Scripting | 11 | 10-11-2007 02:24 AM |
| ftp doubt | ranj@chn | Shell Programming and Scripting | 0 | 01-04-2006 08:47 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
doubt in sed
hi all,
i have a variable exported as VAR=ATTRIB then tried with, echo "tt" | sed 's/^/$VAR/' expected result as ttATTRIB but obtained only, $VARtt i could nt get where i am wrong. Thanks. |
|
||||
|
Thanks,
I had already tried the very same thing that u had provided echo "tt" | sed 's/$/$VAR/' ended in vain. But, echo "tt" | sed "s/$/$VAR/" came up with an answer. Could you please help me with difference between ' and " in sed |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|