my script is using at the moment:
Code:
r=`${DIAG} --title "Eapp editor" --fselect "" 50 100 2>&1`
which was very fine when DIAG points to Xdialog, but after a thought, it can not work as fine with dialog(ncurses) ...
Code:
${DIAG} --title "Eapp editor" --fselect "" 50 100 2>$r
is rejected by
GNU bash, version 3.00.16(1)-release (i686-pc-linux-gnu)
it complains about some ambiguous redirection ...
I am looking for a workaround NOT using any temporary file.
Any idea ?