dialog
Hello..
#!/bin/bash
dialog --title "add-users to your system" --backtitle "User-Grouping-Utility"\
--inputbox "enter a username pattern" 7 50 2> /tmp/file1.$$\
--inputbox "Enter a number" 7 50 2> /tmp/file2.$$
#==================================================
i've a problem with dialog command that is when i open more than
two --inputbox to take input from a user then redirect it to
2> /tmp/file1.$$ or any file name
then
2> /tmp/file2.$$
to take them later as variables to use with a loop or something
it just redirect the two inputs to just 1 file like that
input1input2 not even in a new line
is there any hidden option to use to pass this problem
or even have an inputbox with multiple lines
|