You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue also exists in Bash. Fixing it might incur more costs.
>touch -- --abcd>ls*
Then I will got
ls: unrecognized option '--abcd'
Try 'ls --help' for more information.
This is a complaint about Linux I saw on the internet: when there are files starting with -, ls * fails. Although this is caused by the Unix command-line design, it seems impossible to fix.
(Perhaps we could try prepending ./ to files starting with -, like converting --abcd to ./--abcd?)