Revision 9556
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
660 | 660 |
|
661 | 661 |
#### filesystem |
662 | 662 |
|
663 |
alias file_size="stat -f %`case "$(uname)" in Darwin) echo z;; *) echo s;;esac`" |
|
663 |
alias file_size=\ |
|
664 |
"stat `case "$(uname)" in Darwin) echo -f %z;; *) echo --format=s;; esac`" |
|
664 | 665 |
|
665 | 666 |
|
666 | 667 |
#### URLs |
Also available in: Unified diff
bugfix: lib/sh/util.sh: file_size: need to use --format instead of -f on Linux