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