levelpresence.sh: Show line numbers.

This commit is contained in:
Erik Søe Sørensen 2012-01-05 17:50:33 +01:00
parent aca809aa90
commit 43f9855633

View file

@ -1,6 +1,10 @@
#!/bin/bash
t=0
while sleep 1 ; do
let "t=t+1"
printf "%5d [" "$t"
for ((i=0; i<35; i++)) ; do
if ! [ -f "A-$i.data" ] ; then
echo -n " "