Search Results

Search: Posts Made By: RudiC
3,293
Posted By RudiC
sed mayhap? sed 's/\([0-9.]\+\)-/-\1/g'...
sed mayhap?
sed 's/\([0-9.]\+\)-/-\1/g' fileEDIT: Unfortunately,my mawk doesn't provide "back references", so the closest approximation would be
awk '{gsub (/[0-9.]+-/, "-&x"); gsub (/-x/, "")} 1'...
Showing results 1 to 1 of 1

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