On 10/06/2020 12:35, İsmail Dönmez wrote:
On 10 Jun 12:31 2020, Sid Boyce wrote:
On 10/06/2020 01:46, Bernhard Voelker wrote:
On 2020-06-10 01:58, Sid Boyce wrote:
That's the first time I have ever encountered this on Linux, Solaris, UTS or any other Unix. That's really very old behavior - there was no change for that in the past few decades at least.
Once one is fallen in that trap, he/she will ever remember. Just imagine files like "-rf" or "--help". While the former would e.g. let rm(1) remove recursively, the latter could make a command in a script return with exit status 0 although it would/should fail.
Thorough quoting/escaping arguments is key.
Have a nice day, Berny Never came across it in the previous 40+ years. Still scratching my head --- check this! OK for *.png and *.zip but not for *.mp4.
slipstream:/home/lancelot/ftp/JUN20 # ls -l *.png -rw-r--r-- 1 lancelot users 5352632 Jun 8 12:39 2020-06-08_02-44-07.png -rw-r--r-- 1 lancelot users 300387 Jun 2 14:37 FT8.png -rw-r--r-- 1 lancelot users 161873 Jun 9 21:47 I2C-Extensio-board-outside-by-DB9.png -rw-r--r-- 1 lancelot users 114208 Jun 8 22:37 I2C-Interface.png -rw-r--r-- 1 lancelot users 313429 Jun 6 11:35 LPF-79e2ba9c21074287b29225ede1e43058.png -rw-r--r-- 1 lancelot users 336419 Jun 6 11:42 LPF-Layout-v1-3204eff11324454d9d5e4949d85d38aa.png -rw-r--r-- 1 lancelot users 362591 Jun 6 11:44 LPF-Layout-v2-dd707d0431f848b085004eeafbb17d93.png -rw-r--r-- 1 lancelot users  38991 Jun 7 01:06 midi-rs232.png -rw-r--r-- 1 lancelot users  23680 Jun 2 22:03 miniswr_sch1.png -rw-r--r-- 1 lancelot users 115143 Jun 7 22:15 PA500 rev1.png -rw-r--r-- 1 lancelot users 343291 Jun 7 22:10 Rune-CW-setup.png slipstream:/home/lancelot/ftp/JUN20 # ls -l *.mp4 ls: invalid option -- '2' What does 'alias ls' says?
- ismail
# alias ls alias ls='_ls' -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org