shithub: rc

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