Search Results

Search: Posts Made By: kmac
10,765
Posted By kmac
I think I've got it figured out. Instead of...
I think I've got it figured out. Instead of looking for the \n, I can just look for the end of row ($). Here's the statement.

sed 's/$/\x1f0/' testin.txt > testout.txt
10,765
Posted By kmac
help with sed to add delimiter and new field to each row
I have a file with millions of rows that I need to add a delimiter and a new field with a zero to the end of each row. (its too big to open and do a find and replace regex)

I'm looking for the...
Showing results 1 to 2 of 2

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