Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Quick (?) UNIX Question - EOT

RE: Quick (?) UNIX Question - EOT

From: Vergara, Michael (TEM) <mvergara_at_guidant.com>
Date: Sat, 17 Apr 2004 10:22:10 -0700
Message-ID: <791D0E1ECDECD04D89205F33806FC38701E91DAB@temmse06.tem.guidant.com>


Hi Everybody. Thanks for the million or so responses to my query, and a special nod to Mladen for the chuckle. Some worked and some did not. I forgot to mention, this is HP-UX 11i.

I tried lots of the answers. These did not work...
$ rm -i \-v

/usr/bin/rm: illegal option -- v
Usage: rm [-Rfir] file ...
$
$ $ rm -i *v

/usr/bin/rm: illegal option -- v
Usage: rm [-Rfir] file ...
$=20
$ rm -i '-v'

/usr/bin/rm: illegal option -- v
Usage: rm [-Rfir] file ...
$=20
$ rm -i "-v"

/usr/bin/rm: illegal option -- v
Usage: rm [-Rfir] file ...
$=20
$ rm -i '\-v'

rm: \-v non-existent
$=20
$ rm -i "\-v"

rm: \-v non-existent
$=20

...but these did!
$ rm -i ./-v

./-v: ? (y/n)
$=20
$ rm -i -- -v

-v: ? (y/n)=20
$=20

My thanks to all who voted!

Cheers,
Mike

-----Original Message-----
From: Jesse, Rich [mailto:Rich.Jesse_at_quadtechworld.com] Sent: Friday, April 16, 2004 9:31 AM
To: 'oracle-l_at_freelists.org'
Subject: RE: Quick (?) UNIX Question

rm -i \-v

The backslash escapes the dash. The dash "i" asks you to confirm the delete.



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Sat Apr 17 2004 - 12:18:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US