autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: traditional awk: lazy splitting of $0?


From: Paul Eggert
Subject: Re: traditional awk: lazy splitting of $0?
Date: Mon, 22 Oct 2007 00:03:35 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> Can I rely on the fact that splitting of $0 is done lazily?

I vaguely recall that traditional Awk worked that way, yes.  Sort of
lazily, anyway: it split all of $0 if you accessed any $i where i>0.

> works with Solaris 2.6 awk

If it works with an awk that old, that's probably good enough.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]