Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix][solaris] shell problem in portage/configure
Date: Thu, 12 Apr 2007 10:40:13
Message-Id: 20070412103957.GB27051@gentoo.org
In Reply to: [gentoo-alt] [prefix][solaris] shell problem in portage/configure by Michael Haubenwallner
On 12-04-2007 10:25:46 +0200, Michael Haubenwallner wrote:
> Hi, > > with solaris /bin/sh, this does not work: > echo 1 | grep -E ^[[:digit:]]+$
I guess this is Solaris <10?
> seems that '^' is a command separator here.
Committed, looks safer in quotes anyway. The $ might cause problems for a non-clever shell as well. Thanks! -- Fabian Groffen Gentoo on a different level -- gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [prefix][solaris] shell problem in portage/configure Michael Haubenwallner <michael.haubenwallner@×××××××.at>