Re: [PATCH] maint: simplify parsing df's output in shell scripts

2014-07-03 Thread Pádraig Brady
On 07/04/2014 12:57 AM, Bernhard Voelker wrote: > Avoid complicated and error-prone parsing of df's output via > sed(1), cut(1), etc., and instead use df's more modern --output > option. > > * src/ioblksize.h (in a comment): Simplify the extraction of the > device name of the mounted file system f

[PATCH] maint: simplify parsing df's output in shell scripts

2014-07-03 Thread Bernhard Voelker
Avoid complicated and error-prone parsing of df's output via sed(1), cut(1), etc., and instead use df's more modern --output option. * src/ioblksize.h (in a comment): Simplify the extraction of the device name of the mounted file system from df's output. * tests/dd/skip-seek-past-dev.sh: Likewise.