in reply to Remove the first word for each lines from a text file
Think about how you would '.. remove the first word' from a line using Perl. Then do that on each input line, and print the result to the output file.
You can do it using a regular expression (in fact, there are probably several different ways), but you could also split the line up into words, then re-build the line using all but the first word.
|
|---|