diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-25 09:55:37 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-25 09:55:37 +0300 |
| commit | 62fadf18d92c7aab0e17f2b64986bb0828b7b4cf (patch) | |
| tree | 651bc99175f16f9433dcd906e789271a8ae19497 | |
| parent | cd0ab04a803606e3c69bcdb3c2ae6616f381c68d (diff) | |
| download | pfetch-62fadf18d92c7aab0e17f2b64986bb0828b7b4cf.tar.gz | |
docs: update
| -rwxr-xr-x | pfetch | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -133,6 +133,9 @@ get_os() { # 'IFS' is set to '<>' to enable splitting between the # keys and a second 'read' is used to operate on the # next line directly after a match. + # + # '_' is used to nullify a field. '_ _ line _' basically + # says "populate $line with the third field's contents". while IFS='<>' read -r _ _ line _; do case $line in # To avoid duplicating code, we use the name of |
