On 01 Aug 2003 10:46:37 +1000 Tony Green <[EMAIL PROTECTED]> wrote: > This type of question normally starts a huge thread about the best > ways....
Yeah! Let's go! > In my book, the best way is > > mv -- ---.bar foo.bar > > The initial double dashes tell mv that everything after is NOT an option > but an arg. That's ok if the mv you're using uses getopts. Historically this used not to be the case, so if you want the most general (portable) solution then mv ./---.bar foo.bar is the best. 'though the good thing about -- is that it will tend to work with commands whose args are not files and so will not work with the ./ solution. Matt -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
