[wellylug] getting value from dialog...

Donovan Jones hta.lists at gmail.com
Wed May 9 12:26:48 NZST 2007


On 5/9/07, Sigurd Magnusson <sigurd at silverstripe.com> wrote:
>
>  How do I get the value from the dialog?
> dialog --inputbox "Domain name" 10 40 "google.com"
>
> The value is printed to stdout, but how I do capture that.
>
> I can't, for instance go
> dialog --inputbox "Domain name" 10 40 "google.com" >
> /blahblah/domainnamevalue
>

you sure its not stderr?

try 2>&1

Donovan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20070509/af683058/attachment.htm 


More information about the wellylug mailing list