[Peeweelinux] rc.pcmcia fails
vwbug19
[email protected]
Sun, 8 Sep 2002 13:16:39 -0400
we can simple toss out the rh 6.2 grep and replace it with older version of
grep and it may work?
----- Original Message -----
From: "Barry Gershenfeld" <[email protected]>
To: <[email protected]>
Sent: Friday, September 06, 2002 2:39 PM
Subject: Re: [Peeweelinux] rc.pcmcia fails
> I "grepped grep" and found this, on a RH7.3 system.
>
> Fgrep is the same as grep -F.
>
> -F, --fixed-strings
> Interpret PATTERN as a list of fixed strings, sepa-
> rated by newlines, any of which is to be matched.
> -P, --perl-regexp Interpret PATTERN as a Perl regu-
> lar expression.
>
> I'd be surprised if these were "just added" but the man page does
> say Jan 2002, so it could be.
>
> Here is another trick for strange messages from scripts:
>
> sh -x pcmcia
>
> will echo everything going in and out of the script so you can
> see the command that caused the 'Syntax error: Bad substitution'
> error.
>
> Barry
>
>
>
> At 08:04 PM 9/4/02 -0700, you wrote:
> >'grep -F'. When
> >I look at the web page for busybox there isn't an '-F' listed, nor is
there
> >one listed on grep on my Redhat 7.2 box. The other problem is in the
last
> >line of the script, I get a 'Syntax error: Bad substitution'
> >
> >Randy Torgerson
>
> _______________________________________________
> Peeweelinux mailing list
> [email protected]
> http://mail.adis.on.ca/lists/listinfo/peeweelinux