Hi,

On Fri, 24 Mar 2006 16:15:09 +0100 (CET) Sascha Lucas
<[EMAIL PROTECTED]> wrote:

> 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.

That was a typo. Should of course be "length".

-hwh
-- 
gentoo-user@gentoo.org mailing list

Reply via email to