iankelling.org
/
git
/
small-misc-bash
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11cb2a6
)
update README for gitorious move
author
Ian Kelling
<ian@iankelling.org>
Mon, 16 Feb 2015 10:05:20 +0000
(
02:05
-0800)
committer
Ian Kelling
<ian@iankelling.org>
Fri, 9 Sep 2016 21:06:16 +0000
(14:06 -0700)
ll-function
patch
|
blob
|
history
diff --git
a/ll-function
b/ll-function
index 862b7623bc94252b785503dce541efd0bd822c40..30c749e59239daa889aae24e889234643342e08e 100644
(file)
--- 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
}
-