Checklist and Dialog with external file - Shell Script

Asked

Viewed 368 times

3

I need to use the Dialog making a Checklist from an external file, I have so far done the following:

dialog --stdout --checklist "Contas de e-mail: " 0 0 0 \
while read line
do
$line "" on \
done < contasemail.txt

But I’m getting back the following error message, who expects to have Checklist information

  • I’m not sure what you need but test this I found on this link http://aurelio.net/shell/dialog/: dialog --stdout --title 'Mailing list' --Checklist "E-mail accounts: " 0 0 0 while read line do $line "on done < contasemail.txt

  • @Claudiolopes, I’ll check here and give you a feedback

  • What is the contents of the file contasemail.txt ?

1 answer

2


Browser other questions tagged

You are not signed in. Login or sign up in order to post.