On Fri, 24 Mar 2006, Hans-Werner Hilse wrote:
awk '{$1="";print $0}'

(awk recalculates $0 when $n is modified)
This still leaves you with one OFS starting the line (between $1 and
$2), you can get rid of this using

awk '{$1="";print substr($0,lenght(OFS))}'

thanks. the function lenght seems not defined. but substr($0,2) works.

Sascha.

--
gentoo-user@gentoo.org mailing list

Reply via email to