Have an output that has spaces between columns and these are not a standard amount so I would like to change them to tabs so I can cut the values out. Been trying to do it with sed with something like:
But that doesn't seem to be working.
---------- Post added at 02:36 PM ---------- Previous post was at 02:30 PM ----------
Well I was trying some of the command line arguments for sed and found -r so the following now removes the white space between columns and puts a tab in its place. Here is the working sed statement:
sed -r "s/\s+/\t/g"