From: Ian Kelling Date: Mon, 16 Feb 2015 10:05:20 +0000 (-0800) Subject: update README for gitorious move X-Git-Url: https://iankelling.org/git/?p=small-misc-bash;a=commitdiff_plain;h=66a2e479063e79809cf56314636cc6469d018b0d update README for gitorious move --- diff --git a/ll-function b/ll-function index 862b762..30c749e 100644 --- a/ll-function +++ b/ll-function @@ -72,7 +72,7 @@ ll() { %m-%d %I:%M %P" "$@" ) hardlink_spacing=$((max_hl_digits + 1)) - + for index in "${!lines[@]}"; do line=${lines[index]} hardlinks=${hl[index]} @@ -102,10 +102,9 @@ ll() { declare -i sizePadding="${#size} - 1" size=( $size ) # remove spaces size=${size/.?/} - + printf "%s%4o%${hardlink_spacing}s%s%${sizePadding}s%s\n" \ "${line:0:1}" $perm "$hardlinks" " $middle" "$size" " $tail" fi done } -