On Sun, Jan 21, 2007 at 01:19:55PM -0500, Jonathan Billings wrote:
> export EDITOR=${EDITOR-/usr/bin/emacs}
Close, there's a ``:'' after the parameter name:
export EDITOR=${EDITOR:-/usr/bin/emacs}
Useful stuff.
--
Christopher DeMarco <cmd at alephant.net>
Alephant Systems (http://alephant.net)
PGP public key at http://pgp.alephant.net
+1-412-708-9660