X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=ll-function;h=2776ff400399a2658954c000d2c81beb561e6fb8;hb=7198fb9b1d94039b1f3dc49405edcd6a0ed8ab1b;hp=6fb746bc0fe9f67190b0bdd9285d833cd61ec5a3;hpb=caf671b5c469158479f81f2469e4568e0b938ed9;p=small-misc-bash diff --git a/ll-function b/ll-function index 6fb746b..2776ff4 100644 --- a/ll-function +++ b/ll-function @@ -14,7 +14,7 @@ # limitations under the License. -# ls -lA with enhanced formatting +# ls -lA with enhanced output # octal permissions # omited acl type specifier # better hard link count: number of subdirectories or number of linked files or omitted if 0 @@ -35,8 +35,8 @@ ll() { 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