Hello Justin,
Am 2006-04-15 11:50:15, schrieb Justin Pryzby:
> Since when? grep hasn't changed. You might check /var/log/dpkg.log.
Since Sarge...
> > /bin/zgrep: 103: Syntax error: Bad substitution
> What shell are you using as /bin/sh ? Line 103 of zgrep is:
Bash.
> i=$(echo "$i" | sed -e 's/[\\|&]/\\&/g')
>
> What if you replace that with:
>
> i=`echo "$i" | sed -e 's/[\\|&]/\\&/g'`
The same problem, because of "sed". I had some scripts allready
which do not like my old RegExp. It seems, the RegExp used in
zgrep does not more work
> Could you try running the script with set -x?
Yes, but it is definitivly the RegExp from "sed", which does not
more work.
Greetings
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]