Bug#805647: shellcheck: detect hyphen in function name

Jonas Smedegaard dr at jones.dk
Fri Nov 20 16:00:11 UTC 2015


Package: shellcheck
Version: 0.3.7-1
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bash supports hyphen in function names, but that fails with dash:
https://unix.stackexchange.com/questions/168221/are-there-problems-with-hyphens-in-functions-aliases-and-executables

Please implement a check for hyphen in function names.

 - Jonas

- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages shellcheck depends on:
ii  libc6     2.19-22
ii  libffi6   3.2.1-3
ii  libgmp10  2:6.1.0+dfsg-2

shellcheck recommends no packages.

shellcheck suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWT0OJAAoJECx8MUbBoAEh1pUP/iMMTdl3E2gwJSjjaWpax6u5
/0ea0wpqeyIc93051dMl17NN9GQsz+2m7Pj6rQUoT8acR1sdNfkgdIwmAmTrqJCl
sEcW07Ov76EGQrq13aot1uX9vjKEURHZW4Fk48YuFiTPfqsQl8f3X9gQkphGIeKh
z7kuOfSJnvZvwgdgAcTUvZ7o3kPVrGEcpSF/2RXGkjWZ/IM3vwRzgK7jJC17/Sp5
nyVPBN/2FIakXYku9pfuVbQ+KzVonFGvsRSuTIbANw0wVd0St2KdD2SfAAMOky56
XZ2VOBJp/QUzA20r+HTYpGStJDwK2IQq+ZHaNl8+FY0HPHY46msNde82MvWDaTbq
M5Eb8j+BbahFG9wKyR/TRCEvQNGIzn6U/4pzIgBXBVhZNaPIqPQytgXZF262Iq46
m3TMuF0prlYcUE0gWtmp+pHBSg1vDezAw/vQFMGQV6mkKp2IiW/Mvtncqu5vkhlQ
UA9U13Aq2nKCzX31KOMXIQSLGvlLdKrHnYFT0Ih/8AlJruBdWyx+aoxHS0NtdjYm
a1L1tyNYjgjlrlsoxzTbYer5ZBeuD4XyfH4c3jIcur7foPgzl19Xwk5vzaQ5flGW
ZdAo78Plxmrwoz3vBxOea9+rGS3n0rO0vCE2ahiB1E29UceGW+IbIc1XMVUuVSDN
JJPZdb1DbX1jXPjxoogV
=fGjb
-----END PGP SIGNATURE-----



More information about the Pkg-haskell-maintainers mailing list