[Pkg-haskell-maintainers] Bug#753702: shellcheck: false positive with xargs --null

Paul Wise pabs at debian.org
Fri Jul 4 13:02:42 UTC 2014


Package: shellcheck
Version: 0.3.3-1
Severity: normal

There is a false positive warning about find/xargs when using the long
option (xargs --null) instead of the short option (xargs -0):

In script line 2:
find -type d -print0 | xargs --null chmod 777
^-- SC2038: Use either 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow for non-alphanumeric filenames.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages shellcheck depends on:
ii  libc6     2.19-4
ii  libffi6   3.1-2
ii  libgmp10  2:6.0.0+dfsg-4

shellcheck recommends no packages.

shellcheck suggests no packages.

-- no debconf information

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20140704/09bb9408/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list