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.