Package: bash Version: 4.3-13 Severity: normal Tags: upstream Dear Maintainer,
If you have two redirections before the command or if you don't have a command, bash will do alias expansion on the second filename and treat the first word as a filename and the second word as a command. This example shows it: /tmp/a$ ls -a .. .. /tmp/a$ alias foo="abc def" /tmp/a$ foo bash: abc: command not found /tmp/a$ </ >foo bash: def: command not found /tmp/a$ ls -a .. .. abc /tmp/a$ file abc abc: empty -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (900, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages bash depends on: ii base-files 9.2 ii dash 0.5.7-4+b1 ii debianutils 4.5.1 ii libc6 2.19-19 ii libncurses5 5.9+20150516-2 ii libtinfo5 5.9+20150516-2 Versions of packages bash recommends: ii bash-completion 1:2.1-4.1 Versions of packages bash suggests: pn bash-doc <none> -- no debconf information