sed 's/.\(.*\)/\1/' myfileSay myfile contains:abcdefghiI want to remove the first character only from the first line but the above removes it from all the line.
How to perform an action only on the first line?
bash;text processing;sed
Maybe sed '1s/.\(.*\)/\1/' myfile?