Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19552 - [bzip2] bashism in bzgrep(1)

Attached to Project: Arch Linux
Opened by Andres P (llanero) - Friday, 21 May 2010, 03:35 GMT
Last edited by Ronald van Haren (pressh) - Sunday, 19 December 2010, 17:14 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
bzgrep(1) is #!/bin/sh but it has a parameter expansion bashisms

Additional info:
* package version(s): bzip2 1.0.5-5

$ checkbashisms -f /usr/bin/bzgrep
possible bashism in /usr/bin/bzgrep line 66 (${parm/?/pat[/str]}):
j=${i//\\/\\\\}
possible bashism in /usr/bin/bzgrep line 67 (${parm/?/pat[/str]}):
j=${j//|/\\|}
possible bashism in /usr/bin/bzgrep line 68 (${parm/?/pat[/str]}):
j=${j//&/\\&}

$ dash -c 'foo=bar; echo ${foo//bar}'
dash: Bad substitution

Steps to reproduce:
Use a shell that's not bash(1) as /bin/sh
This task depends upon

Closed by  Ronald van Haren (pressh)
Sunday, 19 December 2010, 17:14 GMT
Reason for closing:  Upstream
Additional comments about closing:  please report upstream
Comment by Andreas Radke (AndyRTR) - Sunday, 19 December 2010, 14:00 GMT
You should report this upstream.

Loading...