Re: bash usage.
- Date: Sun, 5 Nov 2017 20:16:05 +1100
- From: David Margerison <deltam@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: bash usage.
On 5 November 2017 at 19:17, <tomas@xxxxxxxxxx> wrote: > > Note that the mount(8) man page recommends findmnt(8) for script > usage. Findmnt is util-linux, so whether you want to use it or > not will depend a bit on your portability needs. > > Parsing mount output robustly is, of course, always a good exercise. Ah thanks, I was not aware of findmnt. If it's available then it appears to be a better tool for script use.