This is working as expected.

Some people even stick files named e.g. --interactive into their
directories to use this as some kind of defense against accidental
deletion.

Most programs provide a -- command line option that says "further
arguments should be interpreted as files". But this kind of surprising
experience is inevitable in operating systems that don't formalize
command options separately from file arguments.

** Information type changed from Private Security to Public

** Changed in: bash (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381863

Title:
  File name beginning with a dash used as program argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1381863/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to