Closed DG12 closed 3 months ago
I'm curious, what was the stat
that was in the PATH
?
Custom version:
echo $' size\t'" access modification change Born "
export ccyymmdd=`date +"%m\/%d\/%y"`
export ccyy=`date +"%Y-"`
/usr/bin/stat -t "%x %X " -f"%z %Sa %Sm %Sc %SB %N" $* | sed "s/\"//g ; s/$ccyymmdd/__-__-__/g" | column -t
example: (pretty)
stat stat
size access modification change Born
1634 08/22/23 08:05:58 08/02/16 17:07:12 03/23/23 10:00:37 08/02/16 17:07:12 stat
/usr/bin/stat stat (pretty ugly!)
16777234 438405 -rwx--x--x 1 dgerman staff 0 1634 "Aug 22 08:05:58 2023" "Aug 2 17:07:12 2016" "Mar 23 10:00:37 2023" "Aug 2 17:07:12 2016" 4096 8 0 stat
stat /usr
size access modification change Born
352 04/26/24 06:46:19 04/26/24 06:46:19 04/26/24 06:46:19 04/26/24 06:46:19 /usr
/usr/bin/stat
316409225 2235 crw--w---- 1 dgerman tty 268435456 0 "May 18 13:31:33 2024" "May 18 13:31:33 2024" "May 18 13:31:33 2024" "Dec 31 19:00:00 1969" 65536 0 0 (stdin)
Fixed in #849.
Problem was from running the official
install
scriptbrew doctor
trying to install lftp
Install ran with messages
stat: can't use format 'f' with 'f'
Command output error message
What you expected to happen
An error free install
Step-by-step reproduction instructions
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"