[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Incomplete 'command not found' error message if command name contains sp
From: |
Robin A. Meade |
Subject: |
Incomplete 'command not found' error message if command name contains spaces |
Date: |
Tue, 31 Mar 2015 09:19:52 -1000 |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='/usr/local/bin:/usr/bin' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
uname output: Linux localhost.localdomain 3.18.9-100.fc20.x86_64 #1 SMP Mon Mar 9 16:27:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu
Bash Version: 4.3
Patch Level: 30
Release Status: release
Description:
If I try to execute a nonexistent command name that has spaces, the error message includes only up to the first space of the command name.
$ "a nonexistent command name with spaces"
bash: a: command not found...
Expected:
$ "a nonexistent command name with spaces"
bash: a nonexistent command name with spaces: command not found...
- Incomplete 'command not found' error message if command name contains spaces,
Robin A. Meade <=