KittyKatt / screenFetch

Fetches system/theme information in terminal for Linux desktop screenshots.
GNU General Public License v3.0
3.82k stars 453 forks source link

Fix for Issue 704(Languages with longer words for memory) #708

Closed dalto8 closed 3 years ago

dalto8 commented 3 years ago

When the word for "mem" gets long, it causes free -b to not have whitespace before the total memory which breaks the awk which splits the line.

This is a simple fix that splits the line twice, once on the : and then again on the remainder of the line.

KittyKatt commented 3 years ago

Merged! Thank you!