Red Mop wrote: >>> <snip> >>> Attempt1: >>> What is the best way for me to populate a BASH ARRAY with the paths of >>> all of the configured banks in /etc/dirvish/master.conf? >>> <snip some more> > This works too. > > BANK_FOUND=0 > BANK_ENDED=0 > > for X in `cat /etc/dirvish/master.conf` ; do > > <snip the script cuz it's in the previous post> > done > > echo $BANKS >
Ok.. I'll take a look at that. I've managed to extract all of the banks into an array, but it looks so UGLY! This script looks cleaner. I'll evaluate and see how I can use it. -- Richard _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
