HP3000-L Archives

May 2003, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Abootorab <[log in to unmask]>
Reply To:
Michael Abootorab <[log in to unmask]>
Date:
Tue, 20 May 2003 14:41:06 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (58 lines)
how about this :

$ echo 1 > -?.cmd

$ find ./ -name '-?.cmd'
./-?.cmd

$ find ./ -name '-?.cmd' -exec rm {} \;

$ find ./ -name '-?.cmd'
$

thanks
Michael

On Tue, 20 May 2003 11:12:46 -0700, Paul H. Christidis
<[log in to unmask]> wrote:

>Folks,
>
>In an attempt to display the 'usage' instructions of a utility in UNIX, I
>invoked it using the '-?' switch.  The utility proceeded to run and in the
>process created three files having the '-?' prefix.  I've tried different
>incantations of the 'rm' command without any luck.  Does anyone have any
>ideas?
>
>Regards
>Paul Christidis
>
># uname -a
>SunOS lbcns01 5.4 Generic_101945-64 sun4m sparc
># ls -lsa
>total 848
>   2 -rw-r--r--   1 root     other         55 Apr 28 10:37 -?.cmd
>   2 -rw-r--r--   1 root     other         87 Apr 28 10:37 -?.log
>   0 -rw-r--r--   1 root     other          0 Apr 28 10:37 -?.txt
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

how about this :

$ echo 1 > -?.cmd

$ find ./ -name '-?.cmd'
./-?.cmd

$ find ./ -name '-?.cmd' -exec rm {} \;

$ find ./ -name '-?.cmd'
$

thanks
Michael

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2