Search Results

Search: Posts Made By: tromag
169,856
Posted By tromag
Thanks for excelent answers !! It works....
Thanks for excelent answers !! It works....
169,856
Posted By tromag
How can I use a variable in sed?
Hi
I'm trying to change a part of a line with sed. Usually I will run
sed 's/mytext/mynewtext/'

Now I have a variable: var=mynewtext

sed 's/mytext/$var/' does not work. I have also...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy