awk print
David Bear
David.Bear at asu.edu
Wed Feb 23 21:40:11 GMT 2005
I'm using awk to parse a directory listing. I was hoping there is a
way to tell awk to print from $2 - to the end of the columns
available.
find ./ -name '*stuff' | awk '{FS="/" print $3---'}
the $3-- I want to mean -- print from col 3 to the end.
Any awk pros?
--
David Bear
phone: 480-965-8257
fax: 480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
"Beware the IP portfolio, everyone will be suspect of trespassing"
More information about the freebsd-questions
mailing list