Package: dash Version: 0.5.11+git20210903+057cd650a4ed-9 Severity: normal I have found that dash defers "bad substitution" errors until actually attempting to evaluate the substitution in question. That in itself is plausibly legitimate, particularly given that bash does the same.
However, when such an error stems from a function defined in a sourced file, dash cites it as coming from the file corresponding to the top of the call stack, albeit with a line number indicating the relevant line of the sourced file. Could you please take a look? Thanks! -- System Information: Debian Release: bookworm/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'stable-security'), (500, 'testing'), (300, 'unstable-debug'), (300, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386, x32 Kernel: Linux 6.0.0-4-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dash depends on: ii debianutils 5.7-0.4 ii dpkg 1.21.9+b1 ii libc6 2.36-5 dash recommends no packages. dash suggests no packages. -- debconf-show failed