autoconf-patches
[Top][All Lists]
Advanced

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

Re: tests/mktests.sh portability problem with Solaris 8 "sed"


From: Paul Eggert
Subject: Re: tests/mktests.sh portability problem with Solaris 8 "sed"
Date: Mon, 2 Sep 2002 01:00:21 -0700 (PDT)

> From: Akim Demaille <address@hidden>
> Date: 02 Sep 2002 09:48:37 +0200
> 
> I don't understand the patch too well: are you saying that using
> `\n' in a grep regexp is the same as multiple `-e'?

Yes; POSIX requires this.

> If so, is it known to be portable? (I know mktests is OK, I'm thinking
> about other possible uses).

It should be portable with egrep and fgrep ("grep -E" and "grep -F" on
POSIX hosts), since that behavior has been in place ever since 7th
Edition Unix.  It's not portable with plain grep.




reply via email to

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