2 # psu - ps for just one user
5 while (! ~ $#* 0 && ~ $1 -*) {
10 # sed -n p rather than grep so that we get buffered writes.
11 # this is a huge difference in drawterm.
14 ps $flags | sed -n '/^'$user' /p'
16 ps $flags | sed -n '/^'$1' /p'
18 echo Usage: psu '[ps-flags] [ user ]' >[1=2]