summaryrefslogtreecommitdiffstats
path: root/tools/mtime.sh
Commit message (Collapse)AuthorAgeFilesLines
* tools/mtime.sh: Parse ls output with read, not cutPatrick McDermott2019-03-211-2/+7
| | | | | | | | | | | | | | cut treats multiple delimiter characters as empty fields, increasing the field count an indeterminate amount for fields with whitespace delimiter padding. BusyBox's ls outputs: -rw-r--r-- 1 1000 1000 1935 Mar 16 16:31 man/opkbuild.1in cut counts the owner field, not the month, as field 6. And fields 7 and 8 are empty. The shell interpreter's field splitting is better suited for this job, so just use read.
* tools/mtime.sh: New filePatrick McDermott2019-03-161-0/+71