iankelling.org
/
git
/
small-misc-bash
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more date fiddling
[small-misc-bash]
/
ll-function
diff --git
a/ll-function
b/ll-function
index 6fb746bc0fe9f67190b0bdd9285d833cd61ec5a3..1efad4f51d38e989007dc4d682d6149731696d87 100644
(file)
--- a/
ll-function
+++ b/
ll-function
@@
-35,8
+35,8
@@
ll() {
while read line; do
lines+=("$line")
[[ ! ${line:10:11} == " " ]] && aclchar=true
while read line; do
lines+=("$line")
[[ ! ${line:10:11} == " " ]] && aclchar=true
- done< <( "$binls" -lAh --color=always "--time-style=+%m-%d
%Y
-%m-%d %I:%M %
p
" "$@" )
+ done< <( "$binls" -lAh --color=always "--time-style=+%m-%d
%Y
+%m-%d %I:%M %
P
" "$@" )
for line in "${lines[@]}"; do
# very first line starts with some non printing chars
for line in "${lines[@]}"; do
# very first line starts with some non printing chars