Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2001 14:25:04 +0300
From:      "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>
To:        "Gianmarco Giovannelli" <gmarco@giovannelli.it>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: "dialog" command: a couple of questions.
Message-ID:  <01b001c17cb6$52a7b820$6d36120a@comsys.ntukpi.kiev.ua>
References:  <5.1.0.14.2.20011204065649.026c2008@194.184.65.4>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: Gianmarco Giovannelli <gmarco@giovannelli.it>
Newsgroups: lucky.freebsd.questions
Sent: Tuesday, December 04, 2001 9:30 AM
Subject: "dialog" command: a couple of questions.


>  A couple of questions:
> 
> 1) Is it a better way of read the result than, in example:
> 
> #!/bin/sh
> dialog --inputbox text 10 30 2> /tmp/input.dialog
>    if [ $? = 1 ]; then
>          clear
>          exit 0
>    fi
> ANS=`cat /tmp/input.dialog`
> echo "You typed: $ANS";
> 

No, this only one way (easy way).





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01b001c17cb6$52a7b820$6d36120a>