Bug#43296: libc6: devpts.sh uses bashism
In article <cistron.E11IASy-0001RE-00@localhost>,
Farzad FARID <farzy@via.ecp.fr> wrote:
>Package: libc6
>Version: 2.1.2-0pre7
>Severity: normal
>
>This script should not start with #!/bin/sh because it uses constructions
>that do not exist in the Bourne Shell. eg:
>tail=${release#*.*.}
>major_release=${release%.${tail}}
>minor_release=${tail%%[-.]*}
> devpts=$(grep -c devpts /proc/filesystems)
All these constructs are standard Bourne/Posix. Have been for _years_.
Mik.e
--
... somehow I have a feeling the hurting hasn't even begun yet
-- Bill, "The Terrible Thunderlizards"
Reply to: