Anyone know a neat way to do FOO=$FOO:bar in bash without adding the : if FOO was empty?
2
yeah that's likely the neatest solution. Damned LD_LIBRARY_PATH behaviour with lonely colons.
1
Replying to @rossburton
best docs for these kinds of things is 'man dash' honestly. clear, POSIX, obvious.

Aug 15, 2016 ยท 1:51 PM UTC