![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
help in sed
I want to replace followong formate :
20 €- with -20 please tell how this can be done? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
team$ val=`echo 20 ^À-`
team$ echo $val 20 €- team$ echo $val | sed s/"$val"/-20/ -20 team$ |
|||
| Google The UNIX and Linux Forums |