autoconf-patches
[Top][All Lists]
Advanced

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

Re: non portable sed scripts


From: Tim Rice
Subject: Re: non portable sed scripts
Date: Mon, 22 May 2006 21:12:48 -0700 (PDT)

On Sun, 21 May 2006, Paul Eggert wrote:

> Switching to awk sounds like a win to me, as awk is more expressive
> than sed is.  In the old days this would have been problematic due to
> the incompatibilities between traditional and POSIX Awk, but nowadays
> we can assume an almost-POSIX-complaint awk, if we run AC_PROG_AWK.

Switching to awk sounds scary to me. It's quite easy to break
awk on OpenServer.

I've got some info on limits of awk from a SCO engineer on OpenServer
& UnixWare that may be usefull if you switch to awk.

OSR5 awk has an input record limit of 3K bytes.
UW7 awk has an input record limit of 5K
And the awk string limit -- 401 limit in OSR5, 5K limit in UW7.

-- 
Tim Rice                                Multitalents    (707) 887-1469
address@hidden






reply via email to

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