3 ms·
Thank you for the feedback. I'm not sure how to support this. I would probably have to call it "fluid_ounce" / "fl_oz" or "fl.oz." in order to distinguish it fr
by sharkdp 9y ago
Thank you for the feedback. I'm not sure how to support this. I would probably have to call it "fluid_ounce" / "fl_oz" or "fl.oz." in order to distinguish it from the unit of mass.
- jdmichal 9y agoYou could try to go the complicated route to disambiguate based on whether the other units present are liquid volume or mass.
- adrianmonk 9y agoWell, the way /usr/bin/units solves it is to allow "floz", "usfloz", "fluidounce", or "usfluidounce". Having to learn that you can type "floz" is better than not being able to do it at all. (You could also allow "fl oz", "fluid ounce", "fl ounce", etc. if you tweak your parser a little bit, but that's the deluxe version, and any functionality at all would be a big improvement.)