Hello,
i need a 1liner to remove the first 5 chars on any line of a text file, but i dont know sed, could anyone help me please?
Thanks in advance
Chris
Hello,
i need a 1liner to remove the first 5 chars on any line of a text file, but i dont know sed, could anyone help me please?
Thanks in advance
Chris
sed 's/^.....//'
means
replace ("s", substitute) beginning-of-line then 5 characters (".") with nothing.
There are more compact or flexible ways to write this using sed or cut.