I frequently find myself needing to rerun commands with the -h flag, and I was just wondering why it is not the default behavior of programs to show sizes in human-readable terms?

  • glad_cat@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I guess because most of the time the data is consumed by another script. I don’t know how OpenBSD behaves, but I would be pretty angry if I had to put such flags (like “-not-human”) everywhere in my code, docker scripts, and pipelines.

    • Tubbles@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I have the totally opposite opinion, since script writing is where I have a proper text editor with templates and snippets and other helpful tools. Its interactive commands at the terminal that I want to behave as much “human” as possible so I don’t have to type so much