Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B UNSW 1.0 3/14/84; site csu60.OZ Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!sdcsvax!akgua!mcnc!decvax!mulga!munnari!basser!elecvax!csu60!dave From: dave@csu60.UUCP Newsgroups: net.unix-wizards Subject: Re: Why parse lines with colons Message-ID: <25@csu60.OZ> Date: Fri, 13-Jul-84 11:09:28 EDT Article-I.D.: csu60.25 Posted: Fri Jul 13 11:09:28 1984 Date-Received: Thu, 19-Jul-84 02:28:30 EDT References: <526@spuxll.UUCP> Organization: CSU, Uni of NSW, Sydney, Australia Lines: 12 Maybe my shell is weird, but I had to say: FOO=${FOO:-default} The simple ": ${FOO:-default}" didn't work. I find those ":" comments useful for makefiles where I want to null out a particular operation e.g. INSTALL=":" make fred where $INSTALL normally defaults to "install".