mirror of
https://github.com/notwa/rc
synced 2024-11-05 07:29:04 -08:00
Connor Olding
d35c492850
* use /usr/bin/env for all hashbangs * enable hashall for bash * workaround syntax error in -shrc for bash
5 lines
141 B
Bash
Executable file
5 lines
141 B
Bash
Executable file
#!/usr/bin/env sh
|
|
expac -s '%m %n' | awk '
|
|
{t+=$1;printf("%8.2fM %s\n",$1/(1024*1024),$2)}
|
|
END{printf("%8.2fM\n",t/(1024*1024))}
|
|
' | sort -n
|