Search Results

Search: Posts Made By: chirag.joshi
2,488
Posted By alister
Alternatively, you could use a for loop and ed,...
Alternatively, you could use a for loop and ed, instead of resorting to temp files or gnu extensions:

for f in Export???.dat; do
printf %s\\n '1,$s/Absolute velocity/Pixel shift/g' w q | ed...
2,488
Posted By michaelrozar17
If yours is a GNU SED then sed -i 's/Absolute...
If yours is a GNU SED then
sed -i 's/Absolute velocity/Pixel shift/g' Export000.dat
else you could send the output to a temp file and move the temp file to original file name.
Showing results 1 to 2 of 2

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