I am looking for a command to remove first 2 columns from the first row of a file. The delimiter for the columns is a pipe. Number of columns vary.
we just need to blindly remove first 2 columns. sample below.
input: col1|col2|col3|col4
output col3|col4
foo|bar|bazbecomes||baz) or should the output line only have N-2 columns (so thatfoo|bar|bazbecomesbaz)? Please edit your question and include an example of your input and desired output.