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