file-length.sh (215B)
1 #!/bin/sh 2 3 set -e 4 5 if test $# -ne 2 || (test $# = 1 && test "$1" = "-h" -o "$1" = "--help"); then 6 echo "Usage: $0 {-c|-l} path/to/file" 7 fi 8 9 wc "$1" "$2" | sed -e 's/^[[:space:]]*\([0-9][0-9]*\)[[:space:]].*$/\1/'
wwwUnnamed repository; edit this file 'description' to name the repository. | |
| Log | Files | Refs | README |