summaryrefslogtreecommitdiffstats
path: root/tests/exe
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-21 15:58:08 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-21 15:58:08 (EDT)
commit0e7634fee188d25165661044c3eb719e333d6ca3 (patch)
treecd6265072743942e1fd0610c0be383f41c013e53 /tests/exe
parent33d188e8dddded7d3d57c202fac562041ca35357 (diff)
tools/mtime.sh: Parse ls output with read, not cut
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.
Diffstat (limited to 'tests/exe')
0 files changed, 0 insertions, 0 deletions