30 May
2008
30 May
'08
4:16 a.m.
On 2008-05-20, Allan McRae wrote:
Well, if both DBPath and CacheDir _can not_ have spaces in them, this can be simplified to (from earlier versions of the script): eval $(awk '/CacheDir/ {print $1$2$3}' /etc/pacman.conf)
FWIW this will do the same and takes care of a leading #. eval $(sed -n 's:^#:: ;/CacheDir/ s: *::gp' /etc/pacman.conf) --markc