shithub: rc

ref: 3fc055a3f967c9a56e93d4c6882b60c25609ebdc
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