help-bash
[Top][All Lists]
Advanced

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

Re: Bug in basename builtin


From: Greg Wooledge
Subject: Re: Bug in basename builtin
Date: Wed, 18 Mar 2020 08:57:15 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

On Wed, Mar 18, 2020 at 09:49:06AM +0100, Stefan Krusche wrote:
> Am Mittwoch, 18. März 2020 schrieb Peng Yu:
> > Hi,
> >
> > $ type basename
> > basename is a shell builtin
> > $ basename -- # kill the terminal.
> >
> > The above command kill the terminal. Is there a bug?
> 
> Hallo Peng,
> 
> this does not happen on my system, Devuan ascii with:
> $ bash --version
> GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
> 
> $ basename --
> basename: missing operand
> Try 'basename --help' for more information.

That's the GNU coreutils version of basename.  Peng Yu is apparently
using a loadable builtin.



reply via email to

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