Hey all, im stuck working on a script where i use dialog, and im trying to use a dialog prgbox to print out-put from a command and it's simply not working.
The syntax is:
In my understanding the ouput from the cal command should be printed inside the dialog box, but it's not, it is empty.Code:dialog --prgbox "cal" 10 20
I have read the man page and have looked up examples on the internet, but i can't figure this one out.
Thanks in advance.