p_ind iconp_ind 0.1

p_ind is a versatile progress indicator that is best called from scripts. Includes a sample script.
p_ind is a versatile progress indicator that is best called from scripts. Includes a sample script.

USAGE: p_ind [0|1|2|3|4] where 0,1,2,3,4 correspond to defines below. Call from scripts thusly...

#!/bin/bash

# the trap is incase we press ^C during
# p_ind's execution (otherwise it'd be a runaway process),
# and 2> /dev/null so we don't see error if it's already killed
trap 'kill $BG_PID 2> /dev/null' 1 2 3 15

echo "Some time consuming task....."
p_ind 3 &
BG_PID=$!

last updated on:
March 13th, 2007, 15:49 GMT
price:
FREE!
developed by:
Kevin Waldron
license type:
GPL (GNU General Public License) 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT