Search Results

Search: Posts Made By: troglodytes
14,386
Posted By Akshay Hegde
Try : something like this $ echo...
Try : something like this

$ echo "123456789101112131415" | sed 's/^.\{5\}//g'
6789101112131415

$ echo "123456789101112131415" | sed 's/^.\{8\}//g'
9101112131415

$ echo...
14,386
Posted By chacko193
Try this: sed 's/^\(.\{144\}\).*/\1/g'...
Try this:

sed 's/^\(.\{144\}\).*/\1/g' textfile.txtAnd if you want to learn sed this would be a good place to start:

http://www.grymoire.com/Unix/Sed.htmlGood Luck
Showing results 1 to 2 of 2

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