Search Results

Search: Posts Made By: MadeInGermany
7,458
Posted By MadeInGermany
The fixes are ^version to require the beginning...
The fixes are ^version to require the beginning of the line, and \" for a " within " ".
Short solutions:
sed "s/^\(version=\).*/\1\"$new_version\",/" filename.txtsed "/^version=/...
Showing results 1 to 1 of 1

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