bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incomplete 'command not found' error message if command name contain


From: John McKown
Subject: Re: Incomplete 'command not found' error message if command name contains spaces
Date: Tue, 31 Mar 2015 15:39:13 -0500

Hum, on my system, I get the message you are expecting. Transcript:

$ uname -a
Linux it-johnmckown-linux 3.19.1-201.fc21.x86_64 #1 SMP Wed Mar 18
04:29:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[tsh009@it-johnmckown-linux junk]$ bash --version
GNU bash, version 4.3.33(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ "a nonexistent command name with spaces"
bash: a nonexistent command name with spaces: command not found...
$

As you can see, I'm at patch level 33.

On Tue, Mar 31, 2015 at 2:19 PM, Robin A. Meade <robin.a.meade@gmail.com> wrote:
> 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...
>



-- 
If you sent twitter messages while exploring, are you on a textpedition?

He's about as useful as a wax frying pan.

10 to the 12th power microphones = 1 Megaphone

Maranatha! <><
John McKown



reply via email to

[Prev in Thread] Current Thread [Next in Thread]