Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Joyce Cooper (EPCD)" <joycec@Census.GOV>
Subject: Re: Help: deleting directories with !2 in name
Date: 1995/12/12	[thread overview]
Message-ID: <Pine.SOL.3.91.951212132710.12148B-100000@info.census.gov> (raw)
In-Reply-To: Pine.SOL.3.91.951130153702.25664A-100000@info.census.gov

****************************************************************

On 3 Dec 1995, Pekka Niemi wrote:

>     >> You can also prevent the shell from interpreting the string by
>     >> surrounding it with single quotes ('os!2_sys').
> 
>     Harald> No; history substitution has a higher priority than single
>     Harald> or double quotes in all shells I'm aware of.
> 
>     Humm, depends on the shell  -  with csh that is true, while bash handles
> it differently:
> 
> sohvi-19:39:45> touch \!
> sohvi-19:39:55> ls -l '!'
> -rw-r--r--   1 pen      comptel        0 Dec  3 19:39 !
> sohvi-19:40:00>
> 
>     Though the poster didn't tell which shell was in use, and silly me didn't
> consider the csh 8-(
> 
> 	pen
> -- 
> Pekka Niemi                         
> Unix system administrator @ Comptel
> Tel. +358-0-7001 1613
> 
> 

the shell is csh. 

j.c.
______________________________
Joyce Cooper
U.S. Census Bureau
Boston Research Data Center      e-mail: joycec@info.census.gov



      parent reply	other threads:[~1995-12-12  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 ` Harald Fuchs
1995-12-01  5:00 ` Pekka Niemi
1995-12-03  5:00 ` Pekka Niemi
1995-12-12  5:00 ` Joyce Cooper (EPCD) [this message]
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