> [ -f SCRIPTFILE ] && source SCRIPTFILE || error action
>
> (also -r instead of -f may be used)

-r is preferable because then your script won't fail if the file is unreadable

> [For the novice: ". SCRIPTFILE" is same as "source SCRIPTFILE"; just
> an alias syntax]

I've heard rumors that backticks are discouraged in favor of $( )...
Can we do the same for . in favor of source?  You can't exactly grep
for '.'
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to