#!/bin/sh if which upsc > /dev/null 2>&1 ; then echo '<<>>' for ups in $(upsc -l) do upsc $ups| sed "s,^,$ups ," done fi exit 0