Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tools/mtime.sh: Fix ls parsing | Patrick McDermott | 2020-06-13 | 1 | -1/+2 |
| | | | | | The file name (preceeded by whitespace) ended up in the year variable, which isn't quoted when later used as a numeric argument to printf. | ||||
* | tools/mtime.sh: Parse ls output with read, not cut | Patrick McDermott | 2019-03-21 | 1 | -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 file | Patrick McDermott | 2019-03-16 | 1 | -0/+71 |