Awk examples
Jump to navigation
Jump to search
ignore first columns and print rest
[maarten.tikal] ➤ echo 'column1 column2 column3 column4' | awk '{print substr($0, index($0,$3))}' column3 column4
[maarten.tikal] ➤ echo 'column1 column2 column3 column4' | awk '{print substr($0, index($0,$3))}' column3 column4