Why parse lines with colons

dave at csu60.UUCP dave at csu60.UUCP
Sat Jul 14 01:09:28 AEST 1984


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



More information about the Comp.unix.wizards mailing list