#!/bin/bash
# dialog: programbox
# first two files missing !!!

#ls -1 /media/DATA-2/tst/dialogs|dialog  --programbox "List DIR" 20 50     # not correctly working, first two files missing !!!
ls -1 | dialog  --programbox 20 50  # ok

#  ls|dialog  --prgbox  ls 20 50  # not working: shows empty box
#ls | dialog  --prgbox 20 50  # not working: shows empty box

# dialog  --prgbox ls 20 50  # not working: shows empty box
# dialog  --prgbox "List DIR" ls 20 50  # not working: shows empty box
# dialog  --prgbox "List DIR" "bash ls -1 /media/DATA-2/tst/dialogs " 20 50  # not working


ls >output 
dialog --textbox output 20 50   # ok
rm output
