| 4c605ac6 | 26-Dec-2017 |
zrj <rimvydas.jasinskas@gmail.com> |
ls(1): Add -_ option to include nanotime in ls -l.
Very useful when debugging Makefile races in rules with vfs.timestamp_precision=1 set. Yes, ls -l_ seems strage, but we are running out of letters
ls(1): Add -_ option to include nanotime in ls -l.
Very useful when debugging Makefile races in rules with vfs.timestamp_precision=1 set. Yes, ls -l_ seems strage, but we are running out of letters and FreeBSD already has the "-," flag in their ls(1).
show more ...
|
| d4428785 | 20-Nov-2015 |
John Marino <draco@marino.st> |
ls(1): Return previous long format for C/POSIX locales
The output of ls -l for POSIX locales is covered by the POSIX standard. The previous implementation was not compliance with the handling of fut
ls(1): Return previous long format for C/POSIX locales
The output of ls -l for POSIX locales is covered by the POSIX standard. The previous implementation was not compliance with the handling of future timestamps. The standard requires that future timestamps always show the year where as previously it would only show the year if the file's modification time was less than 6 months into the future.
This change detects if C/POSIX LC_TIME is specified, and if so, it implements the long format as specified by the POSIX standard. The ISO 8601 format is still used for named locales.
Reported by: swildner
show more ...
|