0

I was told awk is great for working with columns of data. From what I have seen it's pretty cool, but I haven't found a good site that shows useful (to me) commands. What I'm looking for are the commands that print out lines 5-10 or lines 30-70. The closest I've found was

# Print the last line
      {line = $0}
  END {print line}

and that's not what I need. What I am also looking for is a command that would write lines 1-10 to a file, that would make analysis so much more palatable. if anyone here has any suggestions that would be wonderful, thank you so much.


-Al

2
Contributors
2
Replies
3
Views
11 Years
Discussion Span
Last Post by jim mcnamara
0

I know this thread has gotten some view but no replies....does someone suggest I post this elsewhere so I can possibly get some help?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.