sed 's/.\(.*\)/\1/' myfile
Say myfile contains:
abc
def
ghi
I want to remove the first character only from the first line but the above removes it from all the line.
Say myfile contains:
I want to remove the first character only from the first line but the above removes it from all the line. |
||||
|
|
|
Maybe |
|||
|
It depends on your situaton, whether it is improtant to you or not, but
From
|
||||
|
|