This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Several snapshots on the same system?


Phil Edwards <phil@jaj.com> writes:

|> On Sun, Feb 10, 2002 at 12:21:49AM -0200, Alexandre Oliva wrote:
|> > I'm not sure the GCC docs are the proper place to teach about all
|> > sorts of caveats of Unix shells.  The original Bourne shell does not
|> > even handle ~ especially, and other shells such as ksh and bash only
|> > handle ~ especially when it appears unquoted in the beginning of a
|> > command-line argument.
|> 
|> Recent versions of bash (I don't know what the minimum version number is)
|> only require the tilde to appear at the beginning of something that could
|> be a path, e.g.,
|> 
|>     --prefix=/this/is/a/~weird/patch
|> 
|> the tilde will not be expanded, but in
|> 
|>     --prefix=~/install
|> 
|> it will be.

No, it won't.  The expansion only occurs as part of an assignment.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]