I am trying to open a file called "-2.xml" through VI editor/cat
   from command prompt. But unable to read the file as it is taking
   "-" as one option.  I am getting the following error - cat: invalid
   option -- 2

Try: COMMAND ./-2.xml

where COMMAND is vi/cat/...

Cheers.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to