Vote count:
0
I have a simple question. it's a bit hard to explain but I will do my best. I have multiple scripts that prints numbers, for example temperature and memory usage. these numbers can be 4 numbers (1000 MB) or less (500 MB), it needs to echo ( 500 MB). I know how to use the same space by making it 0500 MB, but thats really ugly. You can probably do this with printf, but i have no idea how.
73nismit
asked 56 secs ago
bash script echo always print the same space
Aucun commentaire:
Enregistrer un commentaire