Search Results

Search: Posts Made By: robsonde
4,807
Posted By robsonde
using sed to do a search relpace... # cat...
using sed to do a search relpace...

# cat file | sed -e 's/ */,/g' > newfile

so we have relace one or more spaces with a ,

I have not tested this, it's just off the top of my head...
Showing results 1 to 1 of 1

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