Re: [O] [OT] Babel user queries like SH "read CONFIRM"

2012-02-08 Thread Eric Schulte
brian powell writes: > * Is there a simple way in BABEL to interact/query a user--something like > this won't work: > > #+begin_src sh > cat blah-install.sh > echo -n " Sure you want to run this install script code to install > BlahSoftware? (y/n): " > read CONFIRM > case $CONFIRM in > y|Y)

[O] [OT] Babel user queries like SH "read CONFIRM"

2012-02-08 Thread brian powell
* Is there a simple way in BABEL to interact/query a user--something like this won't work: #+begin_src sh cat blah-install.sh echo -n " Sure you want to run this install script code to install BlahSoftware? (y/n): " read CONFIRM case $CONFIRM in y|Y) sh blah-software-install.sh;; n|N)