Bug#690635: fccexam: bashism in /bin/sh script
Package: fccexam
Version: 1.0.3-1
Severity: important
User: debian-release@lists.debian.org
Usertags: goal-dash
Hello maintainer,
While performing an archive wide checkbashisms (from the 'devscripts'
package) check I've found your package containing a /bin/sh script making
use of a bashism.
checkbashisms' output:
>possible bashism in ./usr/share/fccexam/fccexam line 72 (read with option
other than -r):
> read -p "Which pool?
> {1,3,5,6,7,7R,8,9,T1,T2,T3,GROL,GROL+,MROP,GMDSS,GMDSS+,R
> GMDSS} " POOL;
Not using bash (or a Debian Policy conformant shell interpreter which
doesn't provide such an extra feature) as /bin/sh is likely to lead to
errors or unexpected behaviours.
You can find hints about how to fix bashisms at:
https://wiki.ubuntu.com/DashAsBinSh
Thank you,
Raphael Geissert
Reply to: