shithub: rc

ref: 7314fb6b296824132c3e0adef0377b024990ecc7
dir: /graveyard/lr1/

View raw version
#!/bin/rc
# FIXME: this lists both files and directories
s='s/^[0-9]*	//'
if(~ $1 -Q){	# remove rc quoting
	s='s/^[0-9]*	''*(.*)/\1/;s/''$//;s/''''/''/g'
	shift
}
du -n $* | sed $s