3

Not able to capture error while using dialog

view full story
linux-howto

http://www.unix.com – I am not able to capture errors while I am using dialog. For example: Code: dialog --gauge "Verifying file..." 10 75 < <( while read LINE do         hash=$(echo $LINE | cut -f1 -d' ')         directory=$(echo $LINE | cut -c 34-)         PCT=$(( 100*(++i)/n ))         echo $PCT         md5deep -a $hash $directory > /dev/null         RESULT=$?         if [ $RESULT -ne 0 ]         then   &nb (HowTos)