On Fri, Apr 21, 2006 at 09:11:27PM +0200, Michelle Konzack wrote: > Am 2006-04-21 11:06:54, schrieb Julien Cristau: > > On Tue, Apr 11, 2006 at 20:04:39 +0200, Michelle Konzack wrote: > > > > > Package: grep > > > Version: 2.5.1.ds1-4 > > > Severity: grave > > > > > > Error description: > > > > > > /bin/zgrep: 103: Syntax error: Bad substitution > > > > > Hi, > > > > zgrep is part of the "gzip" package, not grep. > > OK > > > This bug looks a lot like 314342 and friends, which have been fixed a > > long time ago: > > gzip (1.3.5-11) unstable; urgency=low > > OK, but I am using Sarge/Stable. Having a broken zgrep makes many > scripts unusable and breaks things. It should be fixed in Stable too. > > > Line 103 of newer zgrep is not a substitution, so it seems like your > > /bin/sh is not bash and your gzip package is old (the "Bad substitution" > > bash: Oh Yes, it is > gzip: Its the newest one I find in Stable ;-) > > Sorry, but an a productionsserver with Apache, courier ssh, > php5 and more plus 6900 Domains and over 24.000 VHosts I do > not like to install UNSTABLE. > > > string appears in dash, but not in bash or sed). > > I use ONLY bash. > > > Could you send the output of "ls -l /bin/sh" and "dpkg -l gzip" on a > > machine where this problem occurs? > > ----[ cmd 'ls -l /bin/bash' ]--------------------------------------- > > -rwxr-xr-x 1 root root 625228 2004-12-19 17:53 /bin/bash ls -l /bin/sh (not /bin/bash)
> ----[ cmd 'dpkg -l gzip' ]------------------------------------------ > > Gew?nscht=Unbekannt/Installieren/R=Entfernen/P=S?ubern/Halten > | Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konf./Halb install. > |/ Fehler?=(keiner)/Halten/R=Neuinst. notw/X=beides (Status, Fehler: > GRO?=schlecht) > ||/ Name Version Beschreibung > +++-==============-==============-============================================ > ii gzip 1.3.5-10 The GNU compression utility Why not 1.3.5-10sarge1?? gzip | 1.3.5-10sarge1 | stable | source, alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]