io.files.info.unix.linux: sometimes /etc/mtab isn't properly formatted (found on arch linux)
parent
b4d23a9d3b
commit
352e263de6
|
@ -51,8 +51,8 @@ frequency pass-number ;
|
||||||
[ second >>mount-point ]
|
[ second >>mount-point ]
|
||||||
[ third >>type ]
|
[ third >>type ]
|
||||||
[ fourth <string-reader> csv first >>options ]
|
[ fourth <string-reader> csv first >>options ]
|
||||||
[ 4 swap nth >>frequency ]
|
[ 4 swap ?nth [ 0 ] unless* >>frequency ]
|
||||||
[ 5 swap nth >>pass-number ]
|
[ 5 swap ?nth [ 0 ] unless* >>pass-number ]
|
||||||
} cleave ;
|
} cleave ;
|
||||||
|
|
||||||
: parse-mtab ( -- array )
|
: parse-mtab ( -- array )
|
||||||
|
|
Loading…
Reference in New Issue