On Tuesday, 31 January 2023 22:27:24 CET Russ Allbery wrote: > Diederik de Haas <didi.deb...@cknow.org> writes: > > I looked a little deeper/further and specifically into > > `lib/coresight.sh` and that file does contain `echo -n`, which > > ShellCheck does flag as it's undefined in POSIX. So maybe it was > > actually triggered by the 'included' file? > > > > I don't know if that could also be the case for the original reporter. > > Although echo -n is undefined in POSIX, Debian requires it to work in all > shells that are eligible to be /bin/sh. See: > > https://www.debian.org/doc/debian-policy/ch-files.html#scripts
Ah, yeah, then lintian shouldn't trip over that. I lack any Perl knowledge to (properly) understand the code snippet you posted earlier or what lintian does in code, so I can't help with that. Cheers, Diederik
signature.asc
Description: This is a digitally signed message part.