help-bash
[Top][All Lists]
Advanced

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

Re: Bug in basename builtin


From: Stefan Krusche
Subject: Re: Bug in basename builtin
Date: Wed, 18 Mar 2020 09:49:06 +0100
User-agent: KMail/1.9.10

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.

Kind regards,
Stefan



reply via email to

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