nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] More on the "-" issue.


From: Rocco Corsi
Subject: Re: [Nano-devel] More on the "-" issue.
Date: Sat, 20 Apr 2002 01:40:26 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Rocco Corsi wrote:

Rocco Corsi wrote:

Dan Naumov wrote:

Actually, I just realised that the problem exists with literally every piece of software out there that utilises command line parameters, so it's not just Nano. I still think something must be done within Nano to work around this problem. Fixing all Linux and *NIX software could be a larger problem, though.

address@hidden xidia]$ mv -XidiaInfo-.txt Xidia.txt
mv: invalid option -- X
Try `mv --help' for more information.




Actually, many UNIX commands use '--' to signal the end of the options. This could be something to look into. Check 'info mv' or 'info rm', they should discuss this if you have a GNU based system. I have also seen this on Solaris and other SYSVR4 systems.

What about when using the short options, could a single '-' be good enough.

Rocco


Actually, I just tried the following:

 >-k
nano -- -k

Guess what, it loaded the -k file.  Nano already has this feature.



Now you have to remove this -k file.  Hope the following will work:

rm -- -k


Rocco




reply via email to

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