![]() |
Hello and Welcome from 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 |
| can someone help me with modifying this file | eamani_sun | Shell Programming and Scripting | 2 | 05-22-2008 02:15 PM |
| Need help in modifying the prompt | mahatma | Shell Programming and Scripting | 7 | 08-02-2006 04:45 AM |
| modifying my shell | nico-hellas | Shell Programming and Scripting | 1 | 08-05-2005 10:43 AM |
| modifying the writing of a log... | Nicol | Shell Programming and Scripting | 2 | 04-13-2005 11:05 AM |
| Modifying $PATH variable in /etc/profile | Deepali | UNIX for Dummies Questions & Answers | 3 | 03-12-2001 12:17 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Modifying a variable value
Hi all, how do i modify a variable's value.
var1='abcd efgh ijkl mnop abcd' how do i get var2 from var1 var2=$(......) $echo var2 abcd efgh ijkl mnop i.e. i have removed a duplicate occurence. or in general how to modify a varible. thanks in advance |
| Bookmarks |
| Tags |
| awk, awk trim, trim, trim awk, unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|