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.
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

  * patch from Peter Samuelson for bashism in zgrep, 
    closes: #314342, #314211, #312380, #310329

 -- Bdale Garbee <[EMAIL PROTECTED]>  Wed, 15 Jun 2005 14:39:11 -0600

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"
string appears in dash, but not in bash or sed).
Could you send the output of "ls -l /bin/sh" and "dpkg -l gzip" on a
machine where this problem occurs?

Thanks,
Julien Cristau

Attachment: signature.asc
Description: Digital signature

Reply via email to