This is the mail archive of the 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?

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.,


the tilde will not be expanded, but in


it will be.  Likwise for things like


the tilde will be expanded here.  I was quite surprised when I first
discovered this; even tab completion will still work when typing such

Users should definitely be writing $HOME other than ~ when specifying
--prefix arguments, however.


If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams

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