Quantcast
Channel: nixCraft
Viewing all articles
Browse latest Browse all 17

awk / cut: Skip First Two Fields and Print the Rest of Line

$
0
0
I'd like to skip first two or three fields at the the beginning of a line and print the rest of line. Consider the following input:
This is a test Giving back more than we take
I want my input file with the following output:
a test more than we take
How do I printing lines from the nth field using awk under UNIX or Linux operating systems?

Read answer to: "awk / cut: Skip First Two Fields and Print the Rest of Line"

Tweet this    Share on Facebook


Viewing all articles
Browse latest Browse all 17

Trending Articles