Posts by jlhonora • 111 points
1 post
-
1
votes1
answer161
viewsA: Dialog progress bar (Shell Script)
You can redirect stderr to stdout with 2>&1 thus: ARQUIVO_LOG=arquivo.log dialog --infobox 'Iniciando Backup...' 3 25; sleep 1 declare -i cont=1 { while [ $cont -le 100 ]; do echo $cont…