Philipp Wuensche <[email protected]> writes:
> Not entirely true, the jls output is totaly different than before and
> breaks third-party applications like jailaudit and ezjail.
>
> It is uneasy to parse too.

jls | tail +3 | while read line ; do
        set $line
        if [ $# = 3 ] ; then
                echo "jail $1 (name $2 root $3) IPs:"
        elif [ $# = 1 ] ; then
                echo "    $1"
        else
                echo "huh?"
        fi
done

DES
-- 
Dag-Erling Smørgrav - [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"[email protected]"

Reply via email to