Date: Wed, 23 Feb 2005 14:40:10 -0700 From: David Bear <David.Bear@asu.edu> To: freebsd-questions@freebsd.org Subject: awk print Message-ID: <20050223214010.GA31005@asu.edu>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050223214010.GA31005>