From: hf@colibri.de (Harald Fuchs)
Subject: Re: Help: deleting directories with !2 in name
Date: 1995/12/01 [thread overview]
Message-ID: <puhgzkkj2s.fsf@themroc.colibri.de> (raw)
In-Reply-To: Pine.SOL.3.91.951130153702.25664A-100000@info.census.gov
pen@comptel.fi (Pekka Niemi) writes:
> The point is to 'escape' the exclamation mark, which has a special
> meaning at least in csh and bash. Escaping is done by inserting a
> backslash in front of the character (like \!).
Correct so far.
> You can also prevent the shell from
> interpreting the string by surrounding it with single quotes ('os!2_sys').
No; history substitution has a higher priority than single or double
quotes in all shells I'm aware of.
next prev parent reply other threads:[~1995-12-01 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-30 5:00 Help: deleting directories with !2 in name Joyce Cooper (EPCD)
1995-11-30 5:00 ` Philip A. Schueller
1995-12-01 5:00 ` Pekka Niemi
1995-12-01 5:00 ` Harald Fuchs [this message]
1995-12-03 5:00 ` Pekka Niemi
1995-12-12 5:00 ` Joyce Cooper (EPCD)
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox