this post was submitted on 23 Sep 2023
4 points (100.0% liked)

OpenBSD Operating System

468 readers
1 users here now

useful resources:

Developer blogs:

Ressources:

founded 4 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (2 children)

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 4 points 9 months 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

load more comments (1 replies)