official plans for associative array support in bash?

2006-11-06 Thread snowcrash+bugbash
hello, @ http://tiswww.tis.case.edu/~chet/bash/FAQ there are comments ACKing ksh's support for "associative arrays" -- and BASH's current lack of it -- but no announcement of plans/predictions/promises for BASH support. lot's of sites proclaim that there "will be" future support ... but folks @

can't pass a response from bash script to an app's interactive dialog

2007-01-25 Thread snowcrash+bugbash
i'm attempting to write a bash script to automate a sublaunched apps' interactive dialog. fwiw, the app in question is gpg, in its key-revocation mode. the 1st, simple task is to auto-respond to its 1st interactive question with a 'Yes'; subsequent questions -- there are several -- will require

Re: can't pass a response from bash script to an app's interactive dialog

2007-01-25 Thread snowcrash+bugbash
i wasn't even close! but, this works: - #!/usr/local/bin/bash $GPG="sudo -u gpguser /usr/local/bin/gpg $NAME="revoke.txt" $ADDR="[EMAIL PROTECTED]" VAR=$(expect -c " spawn $GPG --output $NAME --gen-revoke $ADDR set timeout -1 stty -