All pastes #924719 Raw Edit

Mine

public text v1 · immutable
·published 2008-03-01 17:10 UTC
rendered paste body
#!/bin/bash
k=1
if [ `tput cols` -lt 108 ];then
    k=2
fi

while true; do
        n=`cat /proc/net/wireless|grep wlan0 |awk '{print $3}'`
        n=`echo -n $n|head -c $(expr $(echo $n|wc -c) - 2)`
        l=$((${n} / ${k}))
        echo -n "(${n}/100)"
        for i in `seq ${l}`; do
                echo -n "#"
        done
        echo ""
        sleep 1s;
done