alias ww='watch '\''ptyexec w | perl -pe '\''\'\'''\''(print(" -1 "),next) if $x++<2; ($i) = ($_ =~ /^.{42}\s+(\S+)/); $i=~/days/&&(print(" 9999999999 "),next); $i=~/(?:(\d+):)?([\d.]+)([md]?)/; ($t=$1*60+$2); $3&&($t*=60); print sprintf(" %9d ",$t)'\''\'\'''\'' | sort -n | perl -pe '\''\'\'''\''s/^\s+\S+\s+//'\''\'\'''\'''\'''
####
perl -pi -e 's/\r\n?/\n/' *
##
##
something | perl -lne 'END{print$x}$x+=$_'
##
##
------------
:Wq
Not an editor command: Wq