Re: Use of ":" (was: Re: mtab very long)

From: Maurits van Rees (maurits_at_vanrees.org)
Date: 05/25/05

  • Next message: Dan Fulbright: "Re: mount: unknown filesystem type 'nfs'"
    Date: Wed, 25 May 2005 23:44:48 +0200
    To: debian-user@lists.debian.org
    
    
    

    On Wed, May 25, 2005 at 08:28:40AM -0400, Paul Smith wrote:
    > The most common usage these days is in conjunction with :=, like this:
    >
    > : ${TMPDIR:=/tmp}
    >
    > The := form assigns the value if the variable is empty, but it _also_
    > substitutes the value. Adding ":" to the front makes that value a
    > no-op.

    This (and your other example) could be useful, thanks.

    -- 
    Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] 
    Public GnuPG key: keyserver.net ID 0x1735C5C2
    "Let your advance worrying become advance thinking and planning."
     - Winston Churchill
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Dan Fulbright: "Re: mount: unknown filesystem type 'nfs'"

    Relevant Pages

    • Re: Configuring exim4 (for use with mutt)
      ... mutt, though that doesn't seem related to any problems mentioned. ... Public GnuPG key: keyserver.net ID 0x1735C5C2 ... "Let your advance worrying become advance thinking and planning." ...
      (Debian-User)
    • Re: PASSWORD FOR DEBIAN CD TO INSTALL APLYCATIONS
      ... Public GnuPG key: keyserver.net ID 0x1735C5C2 ... "Let your advance worrying become advance thinking and planning." ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)
    • Re: OT Funeral readings
      ... Planning on dying are you? ... Me I have better things to do than fuck about worrying what the likes of ...
      (uk.rec.motorcycles)
    • Re: Beginners?? Question
      ... This gives a listing of files in the current dir with the most ... "Let your advance worrying become advance thinking and planning." ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)
    • Re: How about links (was: Get directories names)
      ... without dotfiles: ... "Let your advance worrying become advance thinking and planning." ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)