units(1): support personal library

2022-12-24 Thread Florian Obser
This is at least supported by FreeBSD's units(1) as well as by systemd/Linux. With a personal library like this: $ cat ~/units.lib assload 8 stone butt2 hogshead buttload6 seams solarmass 1.98847e30 kg I can convert my mass into more convenient units: $ units -f

Re: units(1): support personal library

2022-12-24 Thread Crystal Kolipe
On Sat, Dec 24, 2022 at 11:56:37AM +0100, Florian Obser wrote: > This is at least supported by FreeBSD's units(1) as well as by > systemd/Linux. Looks good, just one typo noted below: > > diff --git units.1 units.1 > index d7a45f729b3..916d1b03d32 100644 > --- units.1 > +++ units.1 > @@ -79,6 +7

Re: units(1): support personal library

2022-12-29 Thread Omar Polo
On 2022/12/24 11:56:37 +0100, Florian Obser wrote: > This is at least supported by FreeBSD's units(1) as well as by > systemd/Linux. > > [...] > > OK? it's really handy, ok for me! (with s/options/option as mentioned by Crystal Kolipe.) the -f '' seems a bit weird to be fair, but it's also po