mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-11-09 16:20:50 +00:00
docs: update
This commit is contained in:
1 parent
cd0ab04a80
commit
62fadf18d9
1 file changed
+3
@@ -133,6 +133,9 @@ get_os() {
|
|||||||
# 'IFS' is set to '<>' to enable splitting between the
|
# 'IFS' is set to '<>' to enable splitting between the
|
||||||
# keys and a second 'read' is used to operate on the
|
# keys and a second 'read' is used to operate on the
|
||||||
# next line directly after a match.
|
# 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
|
while IFS='<>' read -r _ _ line _; do
|
||||||
case $line in
|
case $line in
|
||||||
# To avoid duplicating code, we use the name of
|
# To avoid duplicating code, we use the name of
|
||||||
|
|||||||
Reference in new issue
Block a user