[4034] in RedHat Linux List
Re: Deleting quest
daemon@ATHENA.MIT.EDU (James Youngman)
Tue Nov 12 09:43:32 1996
To: redhat-list@redhat.com
From: JYoungman@vggas.com (James Youngman)
Date: 12 Nov 1996 14:38:35 GMT
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
In article <569uqp$1ad@halon.vggas.com>, jacques@linkage.ctech.ac.za says...
>
>To: redhat-list@redhat.com
>Date: Tue, 12 Nov 1996 17:34:47 +0200 (SAT)
>Content-Type: text
>Resent-Message-ID: <"rvEUT1.0.cq3.Dt7Yo"@redhat.com>
>Resent-From: redhat-list@redhat.com
>Reply-To: redhat-list@redhat.com
>Precedence: list
>Resent-Sender: redhat-list-request@redhat.com
>
>Hi there ..
>
>There's no problem deleting files with a " - " in front, but
>how do you delete a file with a " ! " (exclamation) in front.
Use single quotes:-
rm '!foofile!funny_name!'
It's funny, all this is documented in the manual pages for Bash, but
I only figured out much of the information after the Nth reading. Command-line
processing is a reasonably complex process.
--
James Youngman VG Gas Analysis Systems |The trouble with the rat-race
Before sending advertising material, read |is, even if you win, you're
http://www.law.cornell.edu/uscode/47/227.html|still a rat.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null