bug-coreutils
[Top][All Lists]
Advanced

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

bug#59533: BUG: files starting with "-" makes stat to say "invalid optio


From: Elias Tsolis
Subject: bug#59533: BUG: files starting with "-" makes stat to say "invalid option -- 'S'" #64
Date: Wed, 23 Nov 2022 21:34:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

files starting with "-" makes stat to say "invalid option -- 'S'"

example, create a file "-fddsfdf.txt" and run "stat *" or "stat -fddsfdf.txt"

and then again , create a file "fddsfdf.txt" and run "stat *" or "stat fddsfdf.txt"

In first case, it will says "invalid option -- 'S'",
in second, it will be run normally.


No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:    bullseye

stat (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://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.


reply via email to

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