Jeremy C. Reed wrote:
> On Fri, 16 Feb 2007, Eric "Shubes" wrote:
>
>> I still wasn't able to get it to work as I'd like to,
>
> Did you see my reply? (I provided the reason and a very simple
> work-around.)
Yes, sorry I didn't reply.
I didn't try it before I found the --file option. I'd like to give it a shot
though (although for some reason I've always had a distaste for xargs, don't
know why).
Here's the command I'm presently using:
${DIALOG:=dialog} --clear \
--help-button \
--help-label Sections \
--ok-label Man \
--title "$TITLE" \
--menu "$CAPTION" \
$W_HEIGHT $W_WIDTH $W_MENU_HEIGHT \
--file $tempmenu \
2>$tempdial
From what you said, I might try something like this:
arglist="--clear \
--help-button \
--help-label Sections \
--ok-label Man \
--title "$TITLE" \
--menu "$CAPTION" \
$W_HEIGHT $W_WIDTH $W_MENU_HEIGHT \
$MENU \
"
echo $arglist | xargs ${DIALOG:=dialog} 2>$tempdial
I think the stderr redirection is what was screwing up my 'eval' usage. I
need it to go with the dialog command, and I think it might have been being
applied to eval instead. Not sure how would be working.
Thanks, Jeremy.
--
-Eric 'shubes'
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss