shithub: rc

ref: b73e977f5d4b5a1cc37b1d15bf7db8c5d98d014b
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