LinuxQuestions.org
(
/questions/
)
-
Linux - General
(
https://www.linuxquestions.org/questions/linux-general-1/
)
- -
truncate the first character
(
https://www.linuxquestions.org/questions/linux-general-1/truncate-the-first-character-288440/
)
alaios
02-10-2005 04:13 AM
truncate the first character
Hi do u know how i can truncate the first character from each line of a file?
bbk
02-10-2005 04:55 AM
Use this:
cat yourfile | sed -e 's/^.//'
All times are GMT -5. The time now is
07:29 PM
.