[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: '-bash: xxxxxx: command not found'
From: |
Chet Ramey |
Subject: |
Re: '-bash: xxxxxx: command not found' |
Date: |
Wed, 15 Jan 2003 11:48:53 -0500 |
> Machine Type: i386-redhat-linux-gnu
>
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
>
> Description:
> In a login shell, bash refers to itself as '-bash' in error
> messages. It didn't in previous versions.
>
> Repeat-By:
> Get a login shell (su -, or just log in at the console), and
> attempt to run a command that doesn't exist.
>
> Is it intentional?
More of a by-product of other changes, but I think it's more useful.
(It's actually the setting of $0.)
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/