To: Michael Kraus <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="iso-8859-1"

% mv ./---.dat foo.dat

Worth a try, i guess.

The readline() call stops interpreting command line options after it sees a "--" on it's own. So you can do:


mv -- ---.dat foo.dat

Then the "---.dat" will be interpreted as a filename, not as an option.

(Now if only I could remember where that was documented, I could point you to the documentation).

Regards, Andrew
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to