This gist is to help with this fastfetch
issue:
Created
August 25, 2023 01:59
-
-
Save osalbahr/d7b477eeabf6992ff6381839a1210dc6 to your computer and use it in GitHub Desktop.
Hyfetch's `neofetch -vv 2>neofetch.log` on a MacBook Pro running Fedora Silverblue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ verbose=on | |
+ shift | |
+ [[ -n '' ]] | |
+ [[ on != on ]] | |
+ get_simple -vv | |
+ [[ -n -vv ]] | |
++ type -t get_-vv | |
+ [[ '' == \f\u\n\c\t\i\o\n ]] | |
+ shift | |
+ [[ -n '' ]] | |
+ (( simple )) | |
+ get_distro | |
+ [[ -n '' ]] | |
+ case $os in | |
+ [[ -f /bedrock/etc/bedrock-release ]] | |
+ [[ -f /System/Library/CoreServices/SystemVersion.plist ]] | |
+ [[ -f /etc/redstar-release ]] | |
+ [[ -f /etc/KrassOS.version ]] | |
+ [[ -f /etc/armbian-release ]] | |
+ [[ -f /etc/manjaro-release ]] | |
+ [[ -f /etc/siduction-version ]] | |
+ [[ -f /etc/q4os_version ]] | |
+ [[ -f /etc/mcst_version ]] | |
+ [[ -f /etc/NIXOS ]] | |
+ [[ -f /etc/linspire-version ]] | |
+ [[ -f /etc/lindowsos-version ]] | |
+ [[ -f /etc/astra_version ]] | |
+ type -p pveversion | |
+ type -p twistver | |
+ type -p lsb_release | |
+ [[ -f /etc/os-release ]] | |
+ for file in /etc/lsb-release /etc/os-release /usr/lib/os-release /etc/openwrt_release | |
+ source /etc/lsb-release | |
/var/home/dracula/.local/bin/neofetch: line 1177: /etc/lsb-release: No such file or directory | |
+ for file in /etc/lsb-release /etc/os-release /usr/lib/os-release /etc/openwrt_release | |
+ source /etc/os-release | |
++ NAME='Fedora Linux' | |
++ VERSION='38.20230821.0 (Silverblue)' | |
++ ID=fedora | |
++ VERSION_ID=38 | |
++ VERSION_CODENAME= | |
++ PLATFORM_ID=platform:f38 | |
++ PRETTY_NAME='Fedora Linux 38.20230821.0 (Silverblue)' | |
++ ANSI_COLOR='0;38;2;60;110;180' | |
++ LOGO=fedora-logo-icon | |
++ CPE_NAME=cpe:/o:fedoraproject:fedora:38 | |
++ DEFAULT_HOSTNAME=fedora | |
++ HOME_URL=https://silverblue.fedoraproject.org | |
++ DOCUMENTATION_URL=https://docs.fedoraproject.org/en-US/fedora-silverblue/ | |
++ SUPPORT_URL=https://ask.fedoraproject.org/ | |
++ BUG_REPORT_URL=https://github.com/fedora-silverblue/issue-tracker/issues | |
++ REDHAT_BUGZILLA_PRODUCT=Fedora | |
++ REDHAT_BUGZILLA_PRODUCT_VERSION=38 | |
++ REDHAT_SUPPORT_PRODUCT=Fedora | |
++ REDHAT_SUPPORT_PRODUCT_VERSION=38 | |
++ SUPPORT_END=2024-05-14 | |
++ VARIANT=Silverblue | |
++ VARIANT_ID=silverblue | |
++ OSTREE_VERSION=38.20230821.0 | |
+ break | |
+ case $distro_shorthand in | |
+ distro='Fedora Linux 38.20230821.0 (Silverblue) ' | |
+ [[ Fedora Linux 38.20230821.0 (Silverblue) = \F\r\e\e\B\S\D* ]] | |
+ [[ Linux version 6.4.11-200.fc38.x86_64 (mockbuild@eee44a339fc74b839f3e90abe3434b30) (gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1), GNU ld version 2.39-9.fc38) #1 SMP PREEMPT_DYNAMIC Wed Aug 16 17:42:12 UTC 2023 == *Microsoft* ]] | |
+ [[ 6.4.11-200.fc38.x86_64 == *Microsoft* ]] | |
+ [[ -f /etc/lsb-release ]] | |
+ [[ Linux version 6.4.11-200.fc38.x86_64 (mockbuild@eee44a339fc74b839f3e90abe3434b30) (gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1), GNU ld version 2.39-9.fc38) #1 SMP PREEMPT_DYNAMIC Wed Aug 16 17:42:12 UTC 2023 == *chrome-bot* ]] | |
+ [[ -f /dev/cros_ec ]] | |
++ trim_quotes 'Fedora Linux 38.20230821.0 (Silverblue) ' | |
++ trim_output='Fedora Linux 38.20230821.0 (Silverblue) ' | |
++ trim_output='Fedora Linux 38.20230821.0 (Silverblue) ' | |
++ printf %s 'Fedora Linux 38.20230821.0 (Silverblue) ' | |
+ distro='Fedora Linux 38.20230821.0 (Silverblue) ' | |
+ distro='Fedora Linux 38.20230821.0 (Silverblue) ' | |
+ [[ -f /usr/bin/system-image-cli ]] | |
+ [[ Fedora Linux 38.20230821.0 (Silverblue) == \U\b\u\n\t\u* ]] | |
+ distro='Fedora Linux 38.20230821.0 (Silverblue) ' | |
+ [[ -n Fedora Linux 38.20230821.0 (Silverblue) ]] | |
+ case $os in | |
+ machine_arch=x86_64 | |
+ [[ on == on ]] | |
+ distro+=' x86_64' | |
+ [[ auto == auto ]] | |
++ trim 'Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ set -f | |
++ set -- Fedora Linux 38.20230821.0 '(Silverblue)' x86_64 | |
++ printf '%s\n' 'Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ set +f | |
+ ascii_distro='Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
+ get_bold | |
+ case $ascii_bold in | |
+ ascii_bold='\e[1m' | |
+ case $bold in | |
+ bold='\e[1m' | |
+ get_distro_ascii | |
+ case $(trim "$ascii_distro") in | |
++ trim 'Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ set -f | |
++ set -- Fedora Linux 38.20230821.0 '(Silverblue)' x86_64 | |
++ printf '%s\n' 'Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ set +f | |
+ set_colors 12 7 | |
++ color 12 | |
++ case $1 in | |
++ printf '\e[38;5;%bm' 12 | |
+ c1='[38;5;12m\e[1m' | |
++ color 7 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 7 | |
+ c2='[0m[37m\e[1m' | |
++ color '' | |
++ case $1 in | |
++ printf '\e[38;5;%bm' '' | |
+ c3='[38;5;m\e[1m' | |
++ color '' | |
++ case $1 in | |
++ printf '\e[38;5;%bm' '' | |
+ c4='[38;5;m\e[1m' | |
++ color '' | |
++ case $1 in | |
++ printf '\e[38;5;%bm' '' | |
+ c5='[38;5;m\e[1m' | |
++ color '' | |
++ case $1 in | |
++ printf '\e[38;5;%bm' '' | |
+ c6='[38;5;m\e[1m' | |
+ [[ '' != \o\f\f ]] | |
+ set_text_colors 12 7 | |
+ [[ distro == \d\i\s\t\r\o ]] | |
++ color 12 | |
++ case $1 in | |
++ printf '\e[38;5;%bm' 12 | |
+ title_color='[38;5;12m' | |
+ at_color='\e[0m' | |
+ underline_color='\e[0m' | |
++ color 7 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 7 | |
+ subtitle_color='[0m[37m' | |
+ colon_color='\e[0m' | |
+ info_color='\e[0m' | |
+ (( 12 == 8 )) | |
+ (( 7 == 8 )) | |
+ (( 7 == 7 )) | |
++ color 12 | |
++ case $1 in | |
++ printf '\e[38;5;%bm' 12 | |
+ subtitle_color='[38;5;12m' | |
+ (( 12 == 7 )) | |
+ [[ distro == \d\i\s\t\r\o ]] | |
++ color fg | |
++ case $1 in | |
++ printf %b '\e[0m' | |
+ bar_color_elapsed='[0m' | |
+ [[ distro == \d\i\s\t\r\o ]] | |
++ color fg | |
++ case $1 in | |
++ printf %b '\e[0m' | |
+ bar_color_total='[0m' | |
+ read -rd '' ascii_data | |
+ [[ distro != distro ]] | |
+ [[ off == auto ]] | |
+ [[ off == on ]] | |
+ [[ xterm-256color != minix ]] | |
+ [[ off != on ]] | |
+ trap 'printf "\e[?25h\e[?7h"' EXIT | |
+ printf '\e[?25l\e[?7l' | |
+ image_backend | |
+ [[ ascii != \o\f\f ]] | |
+ type -p convert | |
+ case ${image_backend:-off} in | |
+ print_ascii | |
+ [[ -f auto ]] | |
+ [[ auto == \a\s\c\i\i ]] | |
+ [[ auto == auto ]] | |
+ : | |
+ LC_ALL=en_US.UTF-8 | |
+ '[' -n '' ']' | |
+ IFS=' | |
' | |
+ read line | |
+ line=' .'\'',;::::;,'\''.' | |
+ strip_escape_codes ' .'\'',;::::;,'\''.' line | |
+ local 'input= .'\'',;::::;,'\''.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=\' | |
+ (( within_code == 1 )) | |
+ [[ ' == \ ]] | |
+ output+=\' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=, | |
+ (( within_code == 1 )) | |
+ [[ , == \ ]] | |
+ output+=, | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=, | |
+ (( within_code == 1 )) | |
+ [[ , == \ ]] | |
+ output+=, | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=\' | |
+ (( within_code == 1 )) | |
+ [[ ' == \ ]] | |
+ output+=\' | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 25 )) | |
+ eval 'line='\'' .'\'',;::::;,'\''.'\''' | |
++ line=' .,' | |
++ :::: | |
/var/home/dracula/.local/bin/neofetch: line 5183: ::::: command not found | |
++ ,. | |
/var/home/dracula/.local/bin/neofetch: line 5183: ,.: command not found | |
+ line=' .,' | |
++ printf %b ' .,' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=' .,' | |
+ (( ++lines,15>ascii_len )) | |
+ ascii_len=15 | |
+ IFS=' | |
' | |
+ read line | |
+ line=' .'\'';:cccccccccccc:;,.' | |
+ strip_escape_codes ' .'\'';:cccccccccccc:;,.' line | |
+ local 'input= .'\'';:cccccccccccc:;,.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 29 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=\' | |
+ (( within_code == 1 )) | |
+ [[ ' == \ ]] | |
+ output+=\' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=, | |
+ (( within_code == 1 )) | |
+ [[ , == \ ]] | |
+ output+=, | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ eval 'line='\'' .'\'';:cccccccccccc:;,.'\''' | |
/var/home/dracula/.local/bin/neofetch: eval: line 5183: unexpected EOF while looking for matching `'' | |
+ line=' .'\'';:cccccccccccc:;,.' | |
++ printf %b ' .'\'';:cccccccccccc:;,.' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=' .'\'';:cccccccccccc:;,.' | |
+ (( ++lines,29>ascii_len )) | |
+ ascii_len=29 | |
+ IFS=' | |
' | |
+ read line | |
+ line=' .;cccccccccccccccccccccc;.' | |
+ strip_escape_codes ' .;cccccccccccccccccccccc;.' line | |
+ local 'input= .;cccccccccccccccccccccc;.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 32 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ eval 'line='\'' .;cccccccccccccccccccccc;.'\''' | |
++ line=' .;cccccccccccccccccccccc;.' | |
+ line=' .;cccccccccccccccccccccc;.' | |
++ printf %b ' .;cccccccccccccccccccccc;.' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=' .;cccccccccccccccccccccc;.' | |
+ (( ++lines,32>ascii_len )) | |
+ ascii_len=32 | |
+ IFS=' | |
' | |
+ read line | |
+ line=' .:cccccccccccccccccccccccccc:.' | |
+ strip_escape_codes ' .:cccccccccccccccccccccccccc:.' line | |
+ local 'input= .:cccccccccccccccccccccccccc:.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 34 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ eval 'line='\'' .:cccccccccccccccccccccccccc:.'\''' | |
++ line=' .:cccccccccccccccccccccccccc:.' | |
+ line=' .:cccccccccccccccccccccccccc:.' | |
++ printf %b ' .:cccccccccccccccccccccccccc:.' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=' .:cccccccccccccccccccccccccc:.' | |
+ (( ++lines,34>ascii_len )) | |
+ ascii_len=34 | |
+ IFS=' | |
' | |
+ read line | |
+ line=' .;ccccccccccccc;.:dddl:.;ccccccc;.' | |
+ strip_escape_codes ' .;ccccccccccccc;.:dddl:.;ccccccc;.' line | |
+ local 'input= .;ccccccccccccc;.:dddl:.;ccccccc;.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 36 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=l | |
+ (( within_code == 1 )) | |
+ [[ l == \ ]] | |
+ output+=l | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ eval 'line='\'' .;ccccccccccccc;.:dddl:.;ccccccc;.'\''' | |
++ line=' .;ccccccccccccc;.:dddl:.;ccccccc;.' | |
+ line=' .;ccccccccccccc;.:dddl:.;ccccccc;.' | |
++ printf %b ' .;ccccccccccccc;.:dddl:.;ccccccc;.' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=' .;ccccccccccccc;.:dddl:.;ccccccc;.' | |
+ (( ++lines,36>ascii_len )) | |
+ ascii_len=36 | |
+ IFS=' | |
' | |
+ read line | |
+ line=' .:ccccccccccccc;OWMKOOXMWd;ccccccc:.' | |
+ strip_escape_codes ' .:ccccccccccccc;OWMKOOXMWd;ccccccc:.' line | |
+ local 'input= .:ccccccccccccc;OWMKOOXMWd;ccccccc:.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 37 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=O | |
+ (( within_code == 1 )) | |
+ [[ O == \ ]] | |
+ output+=O | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=W | |
+ (( within_code == 1 )) | |
+ [[ W == \ ]] | |
+ output+=W | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=K | |
+ (( within_code == 1 )) | |
+ [[ K == \ ]] | |
+ output+=K | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=O | |
+ (( within_code == 1 )) | |
+ [[ O == \ ]] | |
+ output+=O | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=O | |
+ (( within_code == 1 )) | |
+ [[ O == \ ]] | |
+ output+=O | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=X | |
+ (( within_code == 1 )) | |
+ [[ X == \ ]] | |
+ output+=X | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=W | |
+ (( within_code == 1 )) | |
+ [[ W == \ ]] | |
+ output+=W | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ eval 'line='\'' .:ccccccccccccc;OWMKOOXMWd;ccccccc:.'\''' | |
++ line=' .:ccccccccccccc;OWMKOOXMWd;ccccccc:.' | |
+ line=' .:ccccccccccccc;OWMKOOXMWd;ccccccc:.' | |
++ printf %b ' .:ccccccccccccc;OWMKOOXMWd;ccccccc:.' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=' .:ccccccccccccc;OWMKOOXMWd;ccccccc:.' | |
+ (( ++lines,37>ascii_len )) | |
+ ascii_len=37 | |
+ IFS=' | |
' | |
+ read line | |
+ line='.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.' | |
+ strip_escape_codes '.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.' line | |
+ local 'input=.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 38 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=K | |
+ (( within_code == 1 )) | |
+ [[ K == \ ]] | |
+ output+=K | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=x | |
+ (( within_code == 1 )) | |
+ [[ x == \ ]] | |
+ output+=x | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ eval 'line='\''.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.'\''' | |
++ line='.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.' | |
+ line='.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.' | |
++ printf %b '.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line='.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.' | |
+ (( ++lines,38>ascii_len )) | |
+ ascii_len=38 | |
+ IFS=' | |
' | |
+ read line | |
+ line=',cccccccccccccc;MMM.;cc;;WW:;cccccccc,' | |
+ strip_escape_codes ',cccccccccccccc;MMM.;cc;;WW:;cccccccc,' line | |
+ local 'input=,cccccccccccccc;MMM.;cc;;WW:;cccccccc,' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 38 )) | |
+ char=, | |
+ (( within_code == 1 )) | |
+ [[ , == \ ]] | |
+ output+=, | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=W | |
+ (( within_code == 1 )) | |
+ [[ W == \ ]] | |
+ output+=W | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=W | |
+ (( within_code == 1 )) | |
+ [[ W == \ ]] | |
+ output+=W | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=, | |
+ (( within_code == 1 )) | |
+ [[ , == \ ]] | |
+ output+=, | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ eval 'line='\'',cccccccccccccc;MMM.;cc;;WW:;cccccccc,'\''' | |
++ line=',cccccccccccccc;MMM.;cc;;WW:;cccccccc,' | |
+ line=',cccccccccccccc;MMM.;cc;;WW:;cccccccc,' | |
++ printf %b ',cccccccccccccc;MMM.;cc;;WW:;cccccccc,' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=',cccccccccccccc;MMM.;cc;;WW:;cccccccc,' | |
+ (( ++lines,38>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line=':cccccccccccccc;MMM.;cccccccccccccccc:' | |
+ strip_escape_codes ':cccccccccccccc;MMM.;cccccccccccccccc:' line | |
+ local 'input=:cccccccccccccc;MMM.;cccccccccccccccc:' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 38 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ eval 'line='\'':cccccccccccccc;MMM.;cccccccccccccccc:'\''' | |
++ line=':cccccccccccccc;MMM.;cccccccccccccccc:' | |
+ line=':cccccccccccccc;MMM.;cccccccccccccccc:' | |
++ printf %b ':cccccccccccccc;MMM.;cccccccccccccccc:' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=':cccccccccccccc;MMM.;cccccccccccccccc:' | |
+ (( ++lines,38>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line=':ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:' | |
+ strip_escape_codes ':ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:' line | |
+ local 'input=:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 38 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=o | |
+ (( within_code == 1 )) | |
+ [[ o == \ ]] | |
+ output+=o | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=x | |
+ (( within_code == 1 )) | |
+ [[ x == \ ]] | |
+ output+=x | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=O | |
+ (( within_code == 1 )) | |
+ [[ O == \ ]] | |
+ output+=O | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=O | |
+ (( within_code == 1 )) | |
+ [[ O == \ ]] | |
+ output+=O | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=O | |
+ (( within_code == 1 )) | |
+ [[ O == \ ]] | |
+ output+=O | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=o | |
+ (( within_code == 1 )) | |
+ [[ o == \ ]] | |
+ output+=o | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=0 | |
+ (( within_code == 1 )) | |
+ [[ 0 == \ ]] | |
+ output+=0 | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=O | |
+ (( within_code == 1 )) | |
+ [[ O == \ ]] | |
+ output+=O | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=O | |
+ (( within_code == 1 )) | |
+ [[ O == \ ]] | |
+ output+=O | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=k | |
+ (( within_code == 1 )) | |
+ [[ k == \ ]] | |
+ output+=k | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ eval 'line='\'':ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:'\''' | |
++ line=':ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:' | |
+ line=':ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:' | |
++ printf %b ':ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=':ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:' | |
+ (( ++lines,38>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line='cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;' | |
+ strip_escape_codes 'cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;' line | |
+ local 'input=cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=0 | |
+ (( within_code == 1 )) | |
+ [[ 0 == \ ]] | |
+ output+=0 | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=K | |
+ (( within_code == 1 )) | |
+ [[ K == \ ]] | |
+ output+=K | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=x | |
+ (( within_code == 1 )) | |
+ [[ x == \ ]] | |
+ output+=x | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=k | |
+ (( within_code == 1 )) | |
+ [[ k == \ ]] | |
+ output+=k | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ eval 'line='\''cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;'\''' | |
++ line='cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;' | |
+ line='cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;' | |
++ printf %b 'cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line='cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;' | |
+ (( ++lines,38>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line='ccccc;XM0'\'';cccc;MMM.;cccccccccccccccc'\''' | |
+ strip_escape_codes 'ccccc;XM0'\'';cccc;MMM.;cccccccccccccccc'\''' line | |
+ local 'input=ccccc;XM0'\'';cccc;MMM.;cccccccccccccccc'\''' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=X | |
+ (( within_code == 1 )) | |
+ [[ X == \ ]] | |
+ output+=X | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=0 | |
+ (( within_code == 1 )) | |
+ [[ 0 == \ ]] | |
+ output+=0 | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=\' | |
+ (( within_code == 1 )) | |
+ [[ ' == \ ]] | |
+ output+=\' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ char=\' | |
+ (( within_code == 1 )) | |
+ [[ ' == \ ]] | |
+ output+=\' | |
+ (( ++i )) | |
+ (( i < 38 )) | |
+ eval 'line='\''ccccc;XM0'\'';cccc;MMM.;cccccccccccccccc'\'''\''' | |
++ line='ccccc;XM0' | |
++ cccc | |
/var/home/dracula/.local/bin/neofetch: line 5183: cccc: command not found | |
++ MMM. | |
/var/home/dracula/.local/bin/neofetch: line 5183: MMM.: command not found | |
++ cccccccccccccccc | |
/var/home/dracula/.local/bin/neofetch: line 5183: cccccccccccccccc: command not found | |
+ line='ccccc;XM0' | |
++ printf %b 'ccccc;XM0' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line='ccccc;XM0' | |
+ (( ++lines,9>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line='ccccc;MMo;ccccc;MMW.;ccccccccccccccc;' | |
+ strip_escape_codes 'ccccc;MMo;ccccc;MMW.;ccccccccccccccc;' line | |
+ local 'input=ccccc;MMo;ccccc;MMW.;ccccccccccccccc;' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=o | |
+ (( within_code == 1 )) | |
+ [[ o == \ ]] | |
+ output+=o | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=W | |
+ (( within_code == 1 )) | |
+ [[ W == \ ]] | |
+ output+=W | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 37 )) | |
+ eval 'line='\''ccccc;MMo;ccccc;MMW.;ccccccccccccccc;'\''' | |
++ line='ccccc;MMo;ccccc;MMW.;ccccccccccccccc;' | |
+ line='ccccc;MMo;ccccc;MMW.;ccccccccccccccc;' | |
++ printf %b 'ccccc;MMo;ccccc;MMW.;ccccccccccccccc;' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line='ccccc;MMo;ccccc;MMW.;ccccccccccccccc;' | |
+ (( ++lines,37>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line='ccccc;0MNc.ccc.xMMd;ccccccccccccccc;' | |
+ strip_escape_codes 'ccccc;0MNc.ccc.xMMd;ccccccccccccccc;' line | |
+ local 'input=ccccc;0MNc.ccc.xMMd;ccccccccccccccc;' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=0 | |
+ (( within_code == 1 )) | |
+ [[ 0 == \ ]] | |
+ output+=0 | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=N | |
+ (( within_code == 1 )) | |
+ [[ N == \ ]] | |
+ output+=N | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=x | |
+ (( within_code == 1 )) | |
+ [[ x == \ ]] | |
+ output+=x | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 36 )) | |
+ eval 'line='\''ccccc;0MNc.ccc.xMMd;ccccccccccccccc;'\''' | |
++ line='ccccc;0MNc.ccc.xMMd;ccccccccccccccc;' | |
+ line='ccccc;0MNc.ccc.xMMd;ccccccccccccccc;' | |
++ printf %b 'ccccc;0MNc.ccc.xMMd;ccccccccccccccc;' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line='ccccc;0MNc.ccc.xMMd;ccccccccccccccc;' | |
+ (( ++lines,36>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line='cccccc;dNMWXXXWM0:;cccccccccccccc:,' | |
+ strip_escape_codes 'cccccc;dNMWXXXWM0:;cccccccccccccc:,' line | |
+ local 'input=cccccc;dNMWXXXWM0:;cccccccccccccc:,' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=N | |
+ (( within_code == 1 )) | |
+ [[ N == \ ]] | |
+ output+=N | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=W | |
+ (( within_code == 1 )) | |
+ [[ W == \ ]] | |
+ output+=W | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=X | |
+ (( within_code == 1 )) | |
+ [[ X == \ ]] | |
+ output+=X | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=X | |
+ (( within_code == 1 )) | |
+ [[ X == \ ]] | |
+ output+=X | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=X | |
+ (( within_code == 1 )) | |
+ [[ X == \ ]] | |
+ output+=X | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=W | |
+ (( within_code == 1 )) | |
+ [[ W == \ ]] | |
+ output+=W | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=M | |
+ (( within_code == 1 )) | |
+ [[ M == \ ]] | |
+ output+=M | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=0 | |
+ (( within_code == 1 )) | |
+ [[ 0 == \ ]] | |
+ output+=0 | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ char=, | |
+ (( within_code == 1 )) | |
+ [[ , == \ ]] | |
+ output+=, | |
+ (( ++i )) | |
+ (( i < 35 )) | |
+ eval 'line='\''cccccc;dNMWXXXWM0:;cccccccccccccc:,'\''' | |
++ line='cccccc;dNMWXXXWM0:;cccccccccccccc:,' | |
+ line='cccccc;dNMWXXXWM0:;cccccccccccccc:,' | |
++ printf %b 'cccccc;dNMWXXXWM0:;cccccccccccccc:,' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line='cccccc;dNMWXXXWM0:;cccccccccccccc:,' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line='cccccccc;.:odl:.;cccccccccccccc:,.' | |
+ strip_escape_codes 'cccccccc;.:odl:.;cccccccccccccc:,.' line | |
+ local 'input=cccccccc;.:odl:.;cccccccccccccc:,.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=o | |
+ (( within_code == 1 )) | |
+ [[ o == \ ]] | |
+ output+=o | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=d | |
+ (( within_code == 1 )) | |
+ [[ d == \ ]] | |
+ output+=d | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=l | |
+ (( within_code == 1 )) | |
+ [[ l == \ ]] | |
+ output+=l | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=, | |
+ (( within_code == 1 )) | |
+ [[ , == \ ]] | |
+ output+=, | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 34 )) | |
+ eval 'line='\''cccccccc;.:odl:.;cccccccccccccc:,.'\''' | |
++ line='cccccccc;.:odl:.;cccccccccccccc:,.' | |
+ line='cccccccc;.:odl:.;cccccccccccccc:,.' | |
++ printf %b 'cccccccc;.:odl:.;cccccccccccccc:,.' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line='cccccccc;.:odl:.;cccccccccccccc:,.' | |
+ (( ++lines,34>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line=':cccccccccccccccccccccccccccc:'\''.' | |
+ strip_escape_codes ':cccccccccccccccccccccccccccc:'\''.' line | |
+ local 'input=:cccccccccccccccccccccccccccc:'\''.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 32 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=\' | |
+ (( within_code == 1 )) | |
+ [[ ' == \ ]] | |
+ output+=\' | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 32 )) | |
+ eval 'line='\'':cccccccccccccccccccccccccccc:'\''.'\''' | |
/var/home/dracula/.local/bin/neofetch: eval: line 5183: unexpected EOF while looking for matching `'' | |
+ line=':cccccccccccccccccccccccccccc:'\''.' | |
++ printf %b ':cccccccccccccccccccccccccccc:'\''.' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=':cccccccccccccccccccccccccccc:'\''.' | |
+ (( ++lines,32>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line='.:cccccccccccccccccccccc:;,..' | |
+ strip_escape_codes '.:cccccccccccccccccccccc:;,..' line | |
+ local 'input=.:cccccccccccccccccccccc:;,..' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 29 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=, | |
+ (( within_code == 1 )) | |
+ [[ , == \ ]] | |
+ output+=, | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 29 )) | |
+ eval 'line='\''.:cccccccccccccccccccccc:;,..'\''' | |
++ line='.:cccccccccccccccccccccc:;,..' | |
+ line='.:cccccccccccccccccccccc:;,..' | |
++ printf %b '.:cccccccccccccccccccccc:;,..' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line='.:cccccccccccccccccccccc:;,..' | |
+ (( ++lines,29>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ line=' '\''::cccccccccccccc::;,.' | |
+ strip_escape_codes ' '\''::cccccccccccccc::;,.' line | |
+ local 'input= '\''::cccccccccccccc::;,.' output= i char within_code=0 | |
+ (( i=0 )) | |
+ (( i < 24 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=' ' | |
+ (( within_code == 1 )) | |
+ [[ == \ ]] | |
+ output+=' ' | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=\' | |
+ (( within_code == 1 )) | |
+ [[ ' == \ ]] | |
+ output+=\' | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=c | |
+ (( within_code == 1 )) | |
+ [[ c == \ ]] | |
+ output+=c | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=: | |
+ (( within_code == 1 )) | |
+ [[ : == \ ]] | |
+ output+=: | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=';' | |
+ (( within_code == 1 )) | |
+ [[ ; == \ ]] | |
+ output+=';' | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=, | |
+ (( within_code == 1 )) | |
+ [[ , == \ ]] | |
+ output+=, | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ char=. | |
+ (( within_code == 1 )) | |
+ [[ . == \ ]] | |
+ output+=. | |
+ (( ++i )) | |
+ (( i < 24 )) | |
+ eval 'line='\'' '\''::cccccccccccccc::;,.'\''' | |
/var/home/dracula/.local/bin/neofetch: eval: line 5183: unexpected EOF while looking for matching `'' | |
+ line=' '\''::cccccccccccccc::;,.' | |
++ printf %b ' '\''::cccccccccccccc::;,.' | |
+++ printf %b '\x1B' | |
++ sed -E 's/\[*[0-9;]+[JKmsu]//g' | |
+ line=' '\''::cccccccccccccc::;,.' | |
+ (( ++lines,24>ascii_len )) | |
+ IFS=' | |
' | |
+ read line | |
+ (( lines==1 )) | |
+ ascii_data='[38;5;12m\e[1m .'\'',;::::;,'\''. | |
.'\'';:cccccccccccc:;,. | |
.;cccccccccccccccccccccc;. | |
.:cccccccccccccccccccccccccc:. | |
.;ccccccccccccc;${c2}.:dddl:.[38;5;12m\e[1m;ccccccc;. | |
.:ccccccccccccc;${c2}OWMKOOXMWd[38;5;12m\e[1m;ccccccc:. | |
.:ccccccccccccc;${c2}KMMc[38;5;12m\e[1m;cc;${c2}xMMc[38;5;12m\e[1m;ccccccc:. | |
,cccccccccccccc;${c2}MMM.[38;5;12m\e[1m;cc;${c2};WW:[38;5;12m\e[1m;cccccccc, | |
:cccccccccccccc;${c2}MMM.[38;5;12m\e[1m;cccccccccccccccc: | |
:ccccccc;${c2}oxOOOo[38;5;12m\e[1m;${c2}MMM0OOk.[38;5;12m\e[1m;cccccccccccc: | |
cccccc;${c2}0MMKxdd:[38;5;12m\e[1m;${c2}MMMkddc.[38;5;12m\e[1m;cccccccccccc; | |
ccccc;${c2}XM0'\''[38;5;12m\e[1m;cccc;${c2}MMM.[38;5;12m\e[1m;cccccccccccccccc'\'' | |
ccccc;${c2}MMo[38;5;12m\e[1m;ccccc;${c2}MMW.[38;5;12m\e[1m;ccccccccccccccc; | |
ccccc;${c2}0MNc.[38;5;12m\e[1mccc${c2}.xMMd[38;5;12m\e[1m;ccccccccccccccc; | |
cccccc;${c2}dNMWXXXWM0:[38;5;12m\e[1m;cccccccccccccc:, | |
cccccccc;${c2}.:odl:.[38;5;12m\e[1m;cccccccccccccc:,. | |
:cccccccccccccccccccccccccccc:'\''. | |
.:cccccccccccccccccccccc:;,.. | |
'\''::cccccccccccccc::;,.' | |
+ ascii_data='[38;5;12m\e[1m .'\'',;::::;,'\''. | |
.'\'';:cccccccccccc:;,. | |
.;cccccccccccccccccccccc;. | |
.:cccccccccccccccccccccccccc:. | |
.;ccccccccccccc;[0m[37m\e[1m.:dddl:.[38;5;12m\e[1m;ccccccc;. | |
.:ccccccccccccc;[0m[37m\e[1mOWMKOOXMWd[38;5;12m\e[1m;ccccccc:. | |
.:ccccccccccccc;[0m[37m\e[1mKMMc[38;5;12m\e[1m;cc;[0m[37m\e[1mxMMc[38;5;12m\e[1m;ccccccc:. | |
,cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cc;[0m[37m\e[1m;WW:[38;5;12m\e[1m;cccccccc, | |
:cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc: | |
:ccccccc;[0m[37m\e[1moxOOOo[38;5;12m\e[1m;[0m[37m\e[1mMMM0OOk.[38;5;12m\e[1m;cccccccccccc: | |
cccccc;[0m[37m\e[1m0MMKxdd:[38;5;12m\e[1m;[0m[37m\e[1mMMMkddc.[38;5;12m\e[1m;cccccccccccc; | |
ccccc;[0m[37m\e[1mXM0'\''[38;5;12m\e[1m;cccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc'\'' | |
ccccc;[0m[37m\e[1mMMo[38;5;12m\e[1m;ccccc;[0m[37m\e[1mMMW.[38;5;12m\e[1m;ccccccccccccccc; | |
ccccc;[0m[37m\e[1m0MNc.[38;5;12m\e[1mccc[0m[37m\e[1m.xMMd[38;5;12m\e[1m;ccccccccccccccc; | |
cccccc;[0m[37m\e[1mdNMWXXXWM0:[38;5;12m\e[1m;cccccccccccccc:, | |
cccccccc;[0m[37m\e[1m.:odl:.[38;5;12m\e[1m;cccccccccccccc:,. | |
:cccccccccccccccccccccccccccc:'\''. | |
.:cccccccccccccccccccccc:;,.. | |
'\''::cccccccccccccc::;,.' | |
+ ascii_data='[38;5;12m\e[1m .'\'',;::::;,'\''. | |
.'\'';:cccccccccccc:;,. | |
.;cccccccccccccccccccccc;. | |
.:cccccccccccccccccccccccccc:. | |
.;ccccccccccccc;[0m[37m\e[1m.:dddl:.[38;5;12m\e[1m;ccccccc;. | |
.:ccccccccccccc;[0m[37m\e[1mOWMKOOXMWd[38;5;12m\e[1m;ccccccc:. | |
.:ccccccccccccc;[0m[37m\e[1mKMMc[38;5;12m\e[1m;cc;[0m[37m\e[1mxMMc[38;5;12m\e[1m;ccccccc:. | |
,cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cc;[0m[37m\e[1m;WW:[38;5;12m\e[1m;cccccccc, | |
:cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc: | |
:ccccccc;[0m[37m\e[1moxOOOo[38;5;12m\e[1m;[0m[37m\e[1mMMM0OOk.[38;5;12m\e[1m;cccccccccccc: | |
cccccc;[0m[37m\e[1m0MMKxdd:[38;5;12m\e[1m;[0m[37m\e[1mMMMkddc.[38;5;12m\e[1m;cccccccccccc; | |
ccccc;[0m[37m\e[1mXM0'\''[38;5;12m\e[1m;cccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc'\'' | |
ccccc;[0m[37m\e[1mMMo[38;5;12m\e[1m;ccccc;[0m[37m\e[1mMMW.[38;5;12m\e[1m;ccccccccccccccc; | |
ccccc;[0m[37m\e[1m0MNc.[38;5;12m\e[1mccc[0m[37m\e[1m.xMMd[38;5;12m\e[1m;ccccccccccccccc; | |
cccccc;[0m[37m\e[1mdNMWXXXWM0:[38;5;12m\e[1m;cccccccccccccc:, | |
cccccccc;[0m[37m\e[1m.:odl:.[38;5;12m\e[1m;cccccccccccccc:,. | |
:cccccccccccccccccccccccccccc:'\''. | |
.:cccccccccccccccccccccc:;,.. | |
'\''::cccccccccccccc::;,.' | |
+ ascii_data='[38;5;12m\e[1m .'\'',;::::;,'\''. | |
.'\'';:cccccccccccc:;,. | |
.;cccccccccccccccccccccc;. | |
.:cccccccccccccccccccccccccc:. | |
.;ccccccccccccc;[0m[37m\e[1m.:dddl:.[38;5;12m\e[1m;ccccccc;. | |
.:ccccccccccccc;[0m[37m\e[1mOWMKOOXMWd[38;5;12m\e[1m;ccccccc:. | |
.:ccccccccccccc;[0m[37m\e[1mKMMc[38;5;12m\e[1m;cc;[0m[37m\e[1mxMMc[38;5;12m\e[1m;ccccccc:. | |
,cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cc;[0m[37m\e[1m;WW:[38;5;12m\e[1m;cccccccc, | |
:cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc: | |
:ccccccc;[0m[37m\e[1moxOOOo[38;5;12m\e[1m;[0m[37m\e[1mMMM0OOk.[38;5;12m\e[1m;cccccccccccc: | |
cccccc;[0m[37m\e[1m0MMKxdd:[38;5;12m\e[1m;[0m[37m\e[1mMMMkddc.[38;5;12m\e[1m;cccccccccccc; | |
ccccc;[0m[37m\e[1mXM0'\''[38;5;12m\e[1m;cccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc'\'' | |
ccccc;[0m[37m\e[1mMMo[38;5;12m\e[1m;ccccc;[0m[37m\e[1mMMW.[38;5;12m\e[1m;ccccccccccccccc; | |
ccccc;[0m[37m\e[1m0MNc.[38;5;12m\e[1mccc[0m[37m\e[1m.xMMd[38;5;12m\e[1m;ccccccccccccccc; | |
cccccc;[0m[37m\e[1mdNMWXXXWM0:[38;5;12m\e[1m;cccccccccccccc:, | |
cccccccc;[0m[37m\e[1m.:odl:.[38;5;12m\e[1m;cccccccccccccc:,. | |
:cccccccccccccccccccccccccccc:'\''. | |
.:cccccccccccccccccccccc:;,.. | |
'\''::cccccccccccccc::;,.' | |
+ ascii_data='[38;5;12m\e[1m .'\'',;::::;,'\''. | |
.'\'';:cccccccccccc:;,. | |
.;cccccccccccccccccccccc;. | |
.:cccccccccccccccccccccccccc:. | |
.;ccccccccccccc;[0m[37m\e[1m.:dddl:.[38;5;12m\e[1m;ccccccc;. | |
.:ccccccccccccc;[0m[37m\e[1mOWMKOOXMWd[38;5;12m\e[1m;ccccccc:. | |
.:ccccccccccccc;[0m[37m\e[1mKMMc[38;5;12m\e[1m;cc;[0m[37m\e[1mxMMc[38;5;12m\e[1m;ccccccc:. | |
,cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cc;[0m[37m\e[1m;WW:[38;5;12m\e[1m;cccccccc, | |
:cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc: | |
:ccccccc;[0m[37m\e[1moxOOOo[38;5;12m\e[1m;[0m[37m\e[1mMMM0OOk.[38;5;12m\e[1m;cccccccccccc: | |
cccccc;[0m[37m\e[1m0MMKxdd:[38;5;12m\e[1m;[0m[37m\e[1mMMMkddc.[38;5;12m\e[1m;cccccccccccc; | |
ccccc;[0m[37m\e[1mXM0'\''[38;5;12m\e[1m;cccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc'\'' | |
ccccc;[0m[37m\e[1mMMo[38;5;12m\e[1m;ccccc;[0m[37m\e[1mMMW.[38;5;12m\e[1m;ccccccccccccccc; | |
ccccc;[0m[37m\e[1m0MNc.[38;5;12m\e[1mccc[0m[37m\e[1m.xMMd[38;5;12m\e[1m;ccccccccccccccc; | |
cccccc;[0m[37m\e[1mdNMWXXXWM0:[38;5;12m\e[1m;cccccccccccccc:, | |
cccccccc;[0m[37m\e[1m.:odl:.[38;5;12m\e[1m;cccccccccccccc:,. | |
:cccccccccccccccccccccccccccc:'\''. | |
.:cccccccccccccccccccccc:;,.. | |
'\''::cccccccccccccc::;,.' | |
+ ascii_data='[38;5;12m\e[1m .'\'',;::::;,'\''. | |
.'\'';:cccccccccccc:;,. | |
.;cccccccccccccccccccccc;. | |
.:cccccccccccccccccccccccccc:. | |
.;ccccccccccccc;[0m[37m\e[1m.:dddl:.[38;5;12m\e[1m;ccccccc;. | |
.:ccccccccccccc;[0m[37m\e[1mOWMKOOXMWd[38;5;12m\e[1m;ccccccc:. | |
.:ccccccccccccc;[0m[37m\e[1mKMMc[38;5;12m\e[1m;cc;[0m[37m\e[1mxMMc[38;5;12m\e[1m;ccccccc:. | |
,cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cc;[0m[37m\e[1m;WW:[38;5;12m\e[1m;cccccccc, | |
:cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc: | |
:ccccccc;[0m[37m\e[1moxOOOo[38;5;12m\e[1m;[0m[37m\e[1mMMM0OOk.[38;5;12m\e[1m;cccccccccccc: | |
cccccc;[0m[37m\e[1m0MMKxdd:[38;5;12m\e[1m;[0m[37m\e[1mMMMkddc.[38;5;12m\e[1m;cccccccccccc; | |
ccccc;[0m[37m\e[1mXM0'\''[38;5;12m\e[1m;cccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc'\'' | |
ccccc;[0m[37m\e[1mMMo[38;5;12m\e[1m;ccccc;[0m[37m\e[1mMMW.[38;5;12m\e[1m;ccccccccccccccc; | |
ccccc;[0m[37m\e[1m0MNc.[38;5;12m\e[1mccc[0m[37m\e[1m.xMMd[38;5;12m\e[1m;ccccccccccccccc; | |
cccccc;[0m[37m\e[1mdNMWXXXWM0:[38;5;12m\e[1m;cccccccccccccc:, | |
cccccccc;[0m[37m\e[1m.:odl:.[38;5;12m\e[1m;cccccccccccccc:,. | |
:cccccccccccccccccccccccccccc:'\''. | |
.:cccccccccccccccccccccc:;,.. | |
'\''::cccccccccccccc::;,.' | |
+ (( text_padding=ascii_len+gap )) | |
+ printf '%b\n' '[38;5;12m\e[1m .'\'',;::::;,'\''. | |
.'\'';:cccccccccccc:;,. | |
.;cccccccccccccccccccccc;. | |
.:cccccccccccccccccccccccccc:. | |
.;ccccccccccccc;[0m[37m\e[1m.:dddl:.[38;5;12m\e[1m;ccccccc;. | |
.:ccccccccccccc;[0m[37m\e[1mOWMKOOXMWd[38;5;12m\e[1m;ccccccc:. | |
.:ccccccccccccc;[0m[37m\e[1mKMMc[38;5;12m\e[1m;cc;[0m[37m\e[1mxMMc[38;5;12m\e[1m;ccccccc:. | |
,cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cc;[0m[37m\e[1m;WW:[38;5;12m\e[1m;cccccccc, | |
:cccccccccccccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc: | |
:ccccccc;[0m[37m\e[1moxOOOo[38;5;12m\e[1m;[0m[37m\e[1mMMM0OOk.[38;5;12m\e[1m;cccccccccccc: | |
cccccc;[0m[37m\e[1m0MMKxdd:[38;5;12m\e[1m;[0m[37m\e[1mMMMkddc.[38;5;12m\e[1m;cccccccccccc; | |
ccccc;[0m[37m\e[1mXM0'\''[38;5;12m\e[1m;cccc;[0m[37m\e[1mMMM.[38;5;12m\e[1m;cccccccccccccccc'\'' | |
ccccc;[0m[37m\e[1mMMo[38;5;12m\e[1m;ccccc;[0m[37m\e[1mMMW.[38;5;12m\e[1m;ccccccccccccccc; | |
ccccc;[0m[37m\e[1m0MNc.[38;5;12m\e[1mccc[0m[37m\e[1m.xMMd[38;5;12m\e[1m;ccccccccccccccc; | |
cccccc;[0m[37m\e[1mdNMWXXXWM0:[38;5;12m\e[1m;cccccccccccccc:, | |
cccccccc;[0m[37m\e[1m.:odl:.[38;5;12m\e[1m;cccccccccccccc:,. | |
:cccccccccccccccccccccccccccc:'\''. | |
.:cccccccccccccccccccccc:;,.. | |
'\''::cccccccccccccc::;,.\e[0m' | |
+ LC_ALL=C | |
+ [[ ascii != \o\f\f ]] | |
+ printf '\e[%sA\e[9999999D' 19 | |
+ old_functions | |
+ print_info | |
+ info title | |
+ [[ -n '' ]] | |
+ unset -v prin | |
+ get_title | |
+ user=dracula | |
+ case $title_fqdn in | |
+ hostname=fedora | |
+ hostname=fedora | |
+ title='[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
+ length=14 | |
+ [[ -n '' ]] | |
+ [[ -n '' ]] | |
++ trim '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ set -f | |
++ set -- '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ printf '%s\n' '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ set +f | |
+ output='[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
+ [[ -n '' ]] | |
+ [[ -n [38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora ]] | |
+ prin '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ trim '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ set -f | |
++ set -- '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ printf '%s\n' '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ set +f | |
+ [[ -n [38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora ]] | |
+ [[ -n '' ]] | |
+ string='[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
+ local 'subtitle_color=\e[0m' | |
++ trim '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ set -f | |
++ set -- '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ printf '%s\n' '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ set +f | |
+ string='[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ strip_sequences '[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
++ strip='\e[1mdracula\e[0m@\e[1mfedora' | |
++ strip=dracula@fedora | |
++ printf '%s\n' dracula@fedora | |
+ length=dracula@fedora | |
+ length=14 | |
+ string='[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
+ string='\e[0m\e[1m[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora' | |
+ printf '%b\n' '\e[41C\e[0m\e[1m[38;5;12m\e[1mdracula\e[0m@[38;5;12m\e[1mfedora\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info underline | |
+ [[ -n '' ]] | |
+ unset -v prin | |
+ get_underline | |
+ [[ on == \o\n ]] | |
+ printf -v underline %14s | |
+ printf '%b%b\n' '\e[41C\e[0m' '--------------\e[0m ' | |
+ (( ++info_height )) | |
+ length= | |
+ prin=1 | |
+ [[ -n 1 ]] | |
+ return | |
+ info OS distro | |
+ [[ -n distro ]] | |
+ subtitle=OS | |
+ unset -v prin | |
+ get_distro | |
+ [[ -n Fedora Linux 38.20230821.0 (Silverblue) x86_64 ]] | |
+ return | |
+ [[ -n '' ]] | |
+ [[ -n distro ]] | |
++ trim 'Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ set -f | |
++ set -- Fedora Linux 38.20230821.0 '(Silverblue)' x86_64 | |
++ printf '%s\n' 'Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ set +f | |
+ output='Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
+ [[ -n distro ]] | |
+ [[ -n FedoraLinux38.20230821.0(Silverblue)x86_64 ]] | |
+ prin OS 'Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ trim OS | |
++ set -f | |
++ set -- OS | |
++ printf '%s\n' OS | |
++ set +f | |
+ [[ -n OS ]] | |
+ [[ -n Fedora Linux 38.20230821.0 (Silverblue) x86_64 ]] | |
+ [[ -n '' ]] | |
+ string='OS: Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ trim 'OS: Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ set -f | |
++ set -- OS: Fedora Linux 38.20230821.0 '(Silverblue)' x86_64 | |
++ printf '%s\n' 'OS: Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ set +f | |
+ string='OS: Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ strip_sequences 'OS: Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ strip='OS: Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ strip='OS: Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
++ printf '%s\n' 'OS: Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
+ length='OS: Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
+ length=50 | |
+ string='OS\e[0m\e[0m:\e[0m Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
+ string='[38;5;12m\e[1mOS\e[0m\e[0m:\e[0m Fedora Linux 38.20230821.0 (Silverblue) x86_64' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mOS\e[0m\e[0m:\e[0m Fedora Linux 38.20230821.0 (Silverblue) x86_64\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info Host model | |
+ [[ -n model ]] | |
+ subtitle=Host | |
+ unset -v prin | |
+ get_model | |
+ case $os in | |
+ [[ -d /android/system/ ]] | |
+ [[ -d /system/app/ ]] | |
+ [[ -f /sys/devices/virtual/dmi/id/product_name ]] | |
+ model=MacBookPro14,1 | |
+ model+=' 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ model='MacBookPro14,1 1.0' | |
+ case $model in | |
+ [[ -n '' ]] | |
+ [[ -n model ]] | |
++ trim 'MacBookPro14,1 1.0' | |
++ set -f | |
++ set -- MacBookPro14,1 1.0 | |
++ printf '%s\n' 'MacBookPro14,1 1.0' | |
++ set +f | |
+ output='MacBookPro14,1 1.0' | |
+ [[ -n model ]] | |
+ [[ -n MacBookPro14,11.0 ]] | |
+ prin Host 'MacBookPro14,1 1.0' | |
++ trim Host | |
++ set -f | |
++ set -- Host | |
++ printf '%s\n' Host | |
++ set +f | |
+ [[ -n Host ]] | |
+ [[ -n MacBookPro14,1 1.0 ]] | |
+ [[ -n '' ]] | |
+ string='Host: MacBookPro14,1 1.0' | |
++ trim 'Host: MacBookPro14,1 1.0' | |
++ set -f | |
++ set -- Host: MacBookPro14,1 1.0 | |
++ printf '%s\n' 'Host: MacBookPro14,1 1.0' | |
++ set +f | |
+ string='Host: MacBookPro14,1 1.0' | |
++ strip_sequences 'Host: MacBookPro14,1 1.0' | |
++ strip='Host: MacBookPro14,1 1.0' | |
++ strip='Host: MacBookPro14,1 1.0' | |
++ printf '%s\n' 'Host: MacBookPro14,1 1.0' | |
+ length='Host: MacBookPro14,1 1.0' | |
+ length=24 | |
+ string='Host\e[0m\e[0m:\e[0m MacBookPro14,1 1.0' | |
+ string='[38;5;12m\e[1mHost\e[0m\e[0m:\e[0m MacBookPro14,1 1.0' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mHost\e[0m\e[0m:\e[0m MacBookPro14,1 1.0\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info Kernel kernel | |
+ [[ -n kernel ]] | |
+ subtitle=Kernel | |
+ unset -v prin | |
+ get_kernel | |
+ [[ Linux =~ (AIX|IRIX) ]] | |
+ [[ Linux == Haiku ]] | |
+ [[ Linux == Windows ]] | |
+ [[ Linux == Solaris ]] | |
+ case $kernel_shorthand in | |
+ kernel=6.4.11-200.fc38.x86_64 | |
+ [[ Linux =~ (BSD|MINIX) ]] | |
+ [[ -n '' ]] | |
+ [[ -n kernel ]] | |
++ trim 6.4.11-200.fc38.x86_64 | |
++ set -f | |
++ set -- 6.4.11-200.fc38.x86_64 | |
++ printf '%s\n' 6.4.11-200.fc38.x86_64 | |
++ set +f | |
+ output=6.4.11-200.fc38.x86_64 | |
+ [[ -n kernel ]] | |
+ [[ -n 6.4.11-200.fc38.x86_64 ]] | |
+ prin Kernel 6.4.11-200.fc38.x86_64 | |
++ trim Kernel | |
++ set -f | |
++ set -- Kernel | |
++ printf '%s\n' Kernel | |
++ set +f | |
+ [[ -n Kernel ]] | |
+ [[ -n 6.4.11-200.fc38.x86_64 ]] | |
+ [[ -n '' ]] | |
+ string='Kernel: 6.4.11-200.fc38.x86_64' | |
++ trim 'Kernel: 6.4.11-200.fc38.x86_64' | |
++ set -f | |
++ set -- Kernel: 6.4.11-200.fc38.x86_64 | |
++ printf '%s\n' 'Kernel: 6.4.11-200.fc38.x86_64' | |
++ set +f | |
+ string='Kernel: 6.4.11-200.fc38.x86_64' | |
++ strip_sequences 'Kernel: 6.4.11-200.fc38.x86_64' | |
++ strip='Kernel: 6.4.11-200.fc38.x86_64' | |
++ strip='Kernel: 6.4.11-200.fc38.x86_64' | |
++ printf '%s\n' 'Kernel: 6.4.11-200.fc38.x86_64' | |
+ length='Kernel: 6.4.11-200.fc38.x86_64' | |
+ length=30 | |
+ string='Kernel\e[0m\e[0m:\e[0m 6.4.11-200.fc38.x86_64' | |
+ string='[38;5;12m\e[1mKernel\e[0m\e[0m:\e[0m 6.4.11-200.fc38.x86_64' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mKernel\e[0m\e[0m:\e[0m 6.4.11-200.fc38.x86_64\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info Uptime uptime | |
+ [[ -n uptime ]] | |
+ subtitle=Uptime | |
+ unset -v prin | |
+ get_uptime | |
+ case $os in | |
+ [[ -r /proc/uptime ]] | |
+ s='1193.08 2364.24' | |
+ s=1193 | |
+ d='0 days' | |
+ h='0 hours' | |
+ m='19 minutes' | |
+ (( 0 == 1 )) | |
+ (( 0 == 1 )) | |
+ (( 19 == 1 )) | |
+ (( 0 == 0 )) | |
+ unset d | |
+ (( 0 == 0 )) | |
+ unset h | |
+ (( 19 == 0 )) | |
+ (( > 100 )) | |
/var/home/dracula/.local/bin/neofetch: line 1905: ((: > 100: syntax error: operand expected (error token is "> 100") | |
+ uptime='19 minutes' | |
+ uptime='19 minutes' | |
+ uptime='19 minutes' | |
+ case $uptime_shorthand in | |
+ uptime='19 mins' | |
+ uptime='19 mins' | |
+ uptime='19 mins' | |
+ [[ -n '' ]] | |
+ [[ -n uptime ]] | |
++ trim '19 mins' | |
++ set -f | |
++ set -- 19 mins | |
++ printf '%s\n' '19 mins' | |
++ set +f | |
+ output='19 mins' | |
+ [[ -n uptime ]] | |
+ [[ -n 19mins ]] | |
+ prin Uptime '19 mins' | |
++ trim Uptime | |
++ set -f | |
++ set -- Uptime | |
++ printf '%s\n' Uptime | |
++ set +f | |
+ [[ -n Uptime ]] | |
+ [[ -n 19 mins ]] | |
+ [[ -n '' ]] | |
+ string='Uptime: 19 mins' | |
++ trim 'Uptime: 19 mins' | |
++ set -f | |
++ set -- Uptime: 19 mins | |
++ printf '%s\n' 'Uptime: 19 mins' | |
++ set +f | |
+ string='Uptime: 19 mins' | |
++ strip_sequences 'Uptime: 19 mins' | |
++ strip='Uptime: 19 mins' | |
++ strip='Uptime: 19 mins' | |
++ printf '%s\n' 'Uptime: 19 mins' | |
+ length='Uptime: 19 mins' | |
+ length=15 | |
+ string='Uptime\e[0m\e[0m:\e[0m 19 mins' | |
+ string='[38;5;12m\e[1mUptime\e[0m\e[0m:\e[0m 19 mins' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mUptime\e[0m\e[0m:\e[0m 19 mins\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info Packages packages | |
+ [[ -n packages ]] | |
+ subtitle=Packages | |
+ unset -v prin | |
+ get_packages | |
+ pkgs_h=0 | |
+ [[ -f /bedrock/etc/bedrock-release ]] | |
+ has pipx | |
+ type -p pipx | |
+ has cargo | |
+ type -p cargo | |
+ case $os in | |
+ has kiss | |
+ type -p kiss | |
+ has cpt-list | |
+ type -p cpt-list | |
+ has pacman-key | |
+ type -p pacman-key | |
+ has click | |
+ type -p click | |
+ has dpkg | |
+ type -p dpkg | |
+ has xbps-query | |
+ type -p xbps-query | |
+ has apk | |
+ type -p apk | |
+ has opkg | |
+ type -p opkg | |
+ has pacman-g2 | |
+ type -p pacman-g2 | |
+ has lvu | |
+ type -p lvu | |
+ has tce-status | |
+ type -p tce-status | |
+ has pkg_info | |
+ type -p pkg_info | |
+ has pkgin | |
+ type -p pkgin | |
+ has tazpkg | |
+ type -p tazpkg | |
+ has sorcery | |
+ type -p sorcery | |
+ has alps | |
+ type -p alps | |
+ has butch | |
+ type -p butch | |
+ has swupd | |
+ type -p swupd | |
+ has pisi | |
+ type -p pisi | |
+ has pacstall | |
+ type -p pacstall | |
+ has bulge | |
+ type -p bulge | |
+ has pm | |
+ type -p pm | |
+ has evox | |
+ type -p evox | |
+ has squirrel | |
+ type -p squirrel | |
+ has tea | |
+ type -p tea | |
+ has dnf | |
+ type -p dnf | |
+ has rpm | |
+ type -p rpm | |
+ manager=rpm | |
+ tot rpm -qa | |
+ IFS=' | |
' | |
+ read -d '' -ra pkgs | |
++ rpm -qa | |
+ (( packages+=1478 )) | |
+ pac 1478 | |
+ (( 1478 > 0 )) | |
+ managers+=("$1 (${manager})") | |
+ manager_string+='rpm, ' | |
+ [[ -f /etc/SDE-VERSION ]] | |
+ shopt -s nullglob | |
+ has brew | |
+ type -p brew | |
+ manager=brew | |
++ brew --cellar | |
++ brew --caskroom | |
+ dir '/home/linuxbrew/.linuxbrew/Cellar/* /home/linuxbrew/.linuxbrew/Caskroom/*' | |
+ pkgs=($@) | |
+ [[ ! -e /home/linuxbrew/.linuxbrew/Cellar/adwaita-icon-theme ]] | |
+ (( packages+=139 )) | |
+ pac 139 | |
+ (( 139 > 0 )) | |
+ managers+=("$1 (${manager})") | |
+ manager_string+='brew, ' | |
+ has emerge | |
+ type -p emerge | |
+ has Compile | |
+ type -p Compile | |
+ has eopkg | |
+ type -p eopkg | |
+ has inary | |
+ type -p inary | |
+ has tekel | |
+ type -p tekel | |
+ has crew | |
+ type -p crew | |
+ has pkgtool | |
+ type -p pkgtool | |
+ has scratch | |
+ type -p scratch | |
+ has kagami | |
+ type -p kagami | |
+ has cave | |
+ type -p cave | |
+ has hardman | |
+ type -p hardman | |
+ shopt -u nullglob | |
+ STEAM_P=.local/share/Steam/steamapps/common | |
+ [[ -d /var/home/dracula/.local/share/Steam/steamapps/common ]] | |
+ [[ -d /var/home/dracula/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common ]] | |
+ [[ -d /var/home/dracula/.steam/steam/steamapps/common ]] | |
+ has kpm-pkg | |
+ type -p kpm-pkg | |
+ [[ on == on ]] | |
+ has guix | |
+ type -p guix | |
+ has nix-store | |
+ type -p nix-store | |
+ has flatpak | |
+ type -p flatpak | |
+ manager=flatpak | |
+ manager=flatpak-system | |
+ tot flatpak list --system | |
+ IFS=' | |
' | |
+ read -d '' -ra pkgs | |
++ flatpak list --system | |
+ (( packages+=30 )) | |
+ pac 30 | |
+ (( 30 > 0 )) | |
+ managers+=("$1 (${manager})") | |
+ manager_string+='flatpak-system, ' | |
+ manager=flatpak-user | |
+ tot flatpak list --user | |
+ IFS=' | |
' | |
+ read -d '' -ra pkgs | |
++ flatpak list --user | |
+ (( packages+=0 )) | |
+ pac 0 | |
+ (( 0 > 0 )) | |
+ has pkginfo | |
+ type -p pkginfo | |
+ case $os-$kernel_name in | |
+ has spm | |
+ type -p spm | |
+ has puyo | |
+ type -p puyo | |
+ has snap | |
+ type -p snap | |
+ manager=appimage | |
+ has appimaged | |
+ type -p appimaged | |
+ has devbox | |
+ type -p devbox | |
+ (( packages == 0 )) | |
+ [[ on == on ]] | |
+ printf -v packages '%s, ' '1478 (rpm)' '139 (brew)' '30 (flatpak-system)' | |
+ packages='1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
+ packages='1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
+ [[ -n '' ]] | |
+ [[ -n packages ]] | |
++ trim '1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ set -f | |
++ set -- 1478 '(rpm),' 139 '(brew),' 30 '(flatpak-system)' | |
++ printf '%s\n' '1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ set +f | |
+ output='1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
+ [[ -n packages ]] | |
+ [[ -n 1478(rpm),139(brew),30(flatpak-system) ]] | |
+ prin Packages '1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ trim Packages | |
++ set -f | |
++ set -- Packages | |
++ printf '%s\n' Packages | |
++ set +f | |
+ [[ -n Packages ]] | |
+ [[ -n 1478 (rpm), 139 (brew), 30 (flatpak-system) ]] | |
+ [[ -n '' ]] | |
+ string='Packages: 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ trim 'Packages: 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ set -f | |
++ set -- Packages: 1478 '(rpm),' 139 '(brew),' 30 '(flatpak-system)' | |
++ printf '%s\n' 'Packages: 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ set +f | |
+ string='Packages: 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ strip_sequences 'Packages: 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ strip='Packages: 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ strip='Packages: 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
++ printf '%s\n' 'Packages: 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
+ length='Packages: 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
+ length=53 | |
+ string='Packages\e[0m\e[0m:\e[0m 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
+ string='[38;5;12m\e[1mPackages\e[0m\e[0m:\e[0m 1478 (rpm), 139 (brew), 30 (flatpak-system)' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mPackages\e[0m\e[0m:\e[0m 1478 (rpm), 139 (brew), 30 (flatpak-system)\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info Shell shell | |
+ [[ -n shell ]] | |
+ subtitle=Shell | |
+ unset -v prin | |
+ get_shell | |
+ case $shell_path in | |
+ shell='bash ' | |
+ [[ on != on ]] | |
+ case ${shell_name:=${SHELL##*/}} in | |
+ [[ -n 5.2.15(1)-release ]] | |
+ shell+='5.2.15(1)' | |
+ shell='bash 5.2.15(1)' | |
+ shell='bash 5.2.15(1)' | |
+ shell='bash 5.2.15(1)' | |
+ shell='bash 5.2.15' | |
+ [[ -n '' ]] | |
+ [[ -n shell ]] | |
++ trim 'bash 5.2.15' | |
++ set -f | |
++ set -- bash 5.2.15 | |
++ printf '%s\n' 'bash 5.2.15' | |
++ set +f | |
+ output='bash 5.2.15' | |
+ [[ -n shell ]] | |
+ [[ -n bash5.2.15 ]] | |
+ prin Shell 'bash 5.2.15' | |
++ trim Shell | |
++ set -f | |
++ set -- Shell | |
++ printf '%s\n' Shell | |
++ set +f | |
+ [[ -n Shell ]] | |
+ [[ -n bash 5.2.15 ]] | |
+ [[ -n '' ]] | |
+ string='Shell: bash 5.2.15' | |
++ trim 'Shell: bash 5.2.15' | |
++ set -f | |
++ set -- Shell: bash 5.2.15 | |
++ printf '%s\n' 'Shell: bash 5.2.15' | |
++ set +f | |
+ string='Shell: bash 5.2.15' | |
++ strip_sequences 'Shell: bash 5.2.15' | |
++ strip='Shell: bash 5.2.15' | |
++ strip='Shell: bash 5.2.15' | |
++ printf '%s\n' 'Shell: bash 5.2.15' | |
+ length='Shell: bash 5.2.15' | |
+ length=18 | |
+ string='Shell\e[0m\e[0m:\e[0m bash 5.2.15' | |
+ string='[38;5;12m\e[1mShell\e[0m\e[0m:\e[0m bash 5.2.15' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mShell\e[0m\e[0m:\e[0m bash 5.2.15\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info Resolution resolution | |
+ [[ -n resolution ]] | |
+ subtitle=Resolution | |
+ unset -v prin | |
+ get_resolution | |
+ case $os in | |
+ type -p xrandr | |
+ type -p xwininfo | |
+ type -p xdpyinfo | |
+ [[ -d /sys/class/drm ]] | |
+ for dev in /sys/class/drm/*/modes | |
+ read -r single_resolution _ | |
+ [[ -n '' ]] | |
+ for dev in /sys/class/drm/*/modes | |
+ read -r single_resolution _ | |
+ [[ -n '' ]] | |
+ for dev in /sys/class/drm/*/modes | |
+ read -r single_resolution _ | |
+ [[ -n '' ]] | |
+ for dev in /sys/class/drm/*/modes | |
+ read -r single_resolution _ | |
+ [[ -n '' ]] | |
+ for dev in /sys/class/drm/*/modes | |
+ read -r single_resolution _ | |
+ [[ -n 2560x1600 ]] | |
+ resolution='2560x1600, ' | |
+ resolution='2560x1600, ' | |
+ resolution=2560x1600 | |
+ [[ -z 25601600 ]] | |
+ [[ -n '' ]] | |
+ [[ -n resolution ]] | |
++ trim 2560x1600 | |
++ set -f | |
++ set -- 2560x1600 | |
++ printf '%s\n' 2560x1600 | |
++ set +f | |
+ output=2560x1600 | |
+ [[ -n resolution ]] | |
+ [[ -n 2560x1600 ]] | |
+ prin Resolution 2560x1600 | |
++ trim Resolution | |
++ set -f | |
++ set -- Resolution | |
++ printf '%s\n' Resolution | |
++ set +f | |
+ [[ -n Resolution ]] | |
+ [[ -n 2560x1600 ]] | |
+ [[ -n '' ]] | |
+ string='Resolution: 2560x1600' | |
++ trim 'Resolution: 2560x1600' | |
++ set -f | |
++ set -- Resolution: 2560x1600 | |
++ printf '%s\n' 'Resolution: 2560x1600' | |
++ set +f | |
+ string='Resolution: 2560x1600' | |
++ strip_sequences 'Resolution: 2560x1600' | |
++ strip='Resolution: 2560x1600' | |
++ strip='Resolution: 2560x1600' | |
++ printf '%s\n' 'Resolution: 2560x1600' | |
+ length='Resolution: 2560x1600' | |
+ length=21 | |
+ string='Resolution\e[0m\e[0m:\e[0m 2560x1600' | |
+ string='[38;5;12m\e[1mResolution\e[0m\e[0m:\e[0m 2560x1600' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mResolution\e[0m\e[0m:\e[0m 2560x1600\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info DE de | |
+ [[ -n de ]] | |
+ subtitle=DE | |
+ unset -v prin | |
+ get_de | |
+ (( de_run == 1 )) | |
+ case $os in | |
+ (( wm_run != 1 )) | |
+ get_wm | |
+ (( wm_run == 1 )) | |
+ case $kernel_name in | |
+ ps_flags=(-e) | |
+ [[ -O /run/user/1000/wayland-0 ]] | |
++ lsof -t /run/user/1000/wayland-0 | |
+ tmp_pid=1891 | |
++ trim 1891 | |
++ set -f | |
++ set -- 1891 | |
++ printf '%s\n' 1891 | |
++ set +f | |
+ tmp_pid=1891 | |
++ ps -p 1891 -ho comm= | |
+ wm=gnome-shell | |
+ [[ gnome-shell == *WINDOWMAKER* ]] | |
+ [[ gnome-shell == *GNOME*Shell* ]] | |
+ wm=Mutter | |
+ wm_run=1 | |
+ [[ gnome == *regolith ]] | |
+ [[ gnome == fly ]] | |
+ [[ -n GNOME ]] | |
+ de=GNOME | |
+ de=GNOME | |
+ de=GNOME | |
+ [[ GNOME == \M\u\t\t\e\r ]] | |
+ [[ -n :0 ]] | |
+ [[ -z GNOME ]] | |
+ case $de in | |
+ de=GNOME | |
+ (( 0 >= 4 )) | |
+ [[ on == on ]] | |
+ [[ -n GNOME ]] | |
+ case $de in | |
++ gnome-shell --version | |
+ de_ver='GNOME Shell 44.3' | |
+ de_ver='GNOME Shell 44.3' | |
+ de_ver='GNOME Shell 44.3' | |
+ de_ver='GNOME Shell 44.3' | |
+ de_ver='GNOME Shell 44.3' | |
+ de_ver='GNOME Shell 44.3' | |
+ de_ver=44.3 | |
+ de_ver=44.3 | |
+ de+=' 44.3' | |
+ [[ GNOME 44.3 == \P\l\a\s\m\a* ]] | |
+ [[ -n GNOME 44.3 ]] | |
+ [[ Linux != \W\i\n\d\o\w\s ]] | |
+ de+=' (wayland)' | |
+ de_run=1 | |
+ [[ -n '' ]] | |
+ [[ -n de ]] | |
++ trim 'GNOME 44.3 (wayland)' | |
++ set -f | |
++ set -- GNOME 44.3 '(wayland)' | |
++ printf '%s\n' 'GNOME 44.3 (wayland)' | |
++ set +f | |
+ output='GNOME 44.3 (wayland)' | |
+ [[ -n de ]] | |
+ [[ -n GNOME44.3(wayland) ]] | |
+ prin DE 'GNOME 44.3 (wayland)' | |
++ trim DE | |
++ set -f | |
++ set -- DE | |
++ printf '%s\n' DE | |
++ set +f | |
+ [[ -n DE ]] | |
+ [[ -n GNOME 44.3 (wayland) ]] | |
+ [[ -n '' ]] | |
+ string='DE: GNOME 44.3 (wayland)' | |
++ trim 'DE: GNOME 44.3 (wayland)' | |
++ set -f | |
++ set -- DE: GNOME 44.3 '(wayland)' | |
++ printf '%s\n' 'DE: GNOME 44.3 (wayland)' | |
++ set +f | |
+ string='DE: GNOME 44.3 (wayland)' | |
++ strip_sequences 'DE: GNOME 44.3 (wayland)' | |
++ strip='DE: GNOME 44.3 (wayland)' | |
++ strip='DE: GNOME 44.3 (wayland)' | |
++ printf '%s\n' 'DE: GNOME 44.3 (wayland)' | |
+ length='DE: GNOME 44.3 (wayland)' | |
+ length=24 | |
+ string='DE\e[0m\e[0m:\e[0m GNOME 44.3 (wayland)' | |
+ string='[38;5;12m\e[1mDE\e[0m\e[0m:\e[0m GNOME 44.3 (wayland)' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mDE\e[0m\e[0m:\e[0m GNOME 44.3 (wayland)\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info WM wm | |
+ [[ -n wm ]] | |
+ subtitle=WM | |
+ unset -v prin | |
+ get_wm | |
+ (( wm_run == 1 )) | |
+ return | |
+ [[ -n '' ]] | |
+ [[ -n wm ]] | |
++ trim Mutter | |
++ set -f | |
++ set -- Mutter | |
++ printf '%s\n' Mutter | |
++ set +f | |
+ output=Mutter | |
+ [[ -n wm ]] | |
+ [[ -n Mutter ]] | |
+ prin WM Mutter | |
++ trim WM | |
++ set -f | |
++ set -- WM | |
++ printf '%s\n' WM | |
++ set +f | |
+ [[ -n WM ]] | |
+ [[ -n Mutter ]] | |
+ [[ -n '' ]] | |
+ string='WM: Mutter' | |
++ trim 'WM: Mutter' | |
++ set -f | |
++ set -- WM: Mutter | |
++ printf '%s\n' 'WM: Mutter' | |
++ set +f | |
+ string='WM: Mutter' | |
++ strip_sequences 'WM: Mutter' | |
++ strip='WM: Mutter' | |
++ strip='WM: Mutter' | |
++ printf '%s\n' 'WM: Mutter' | |
+ length='WM: Mutter' | |
+ length=10 | |
+ string='WM\e[0m\e[0m:\e[0m Mutter' | |
+ string='[38;5;12m\e[1mWM\e[0m\e[0m:\e[0m Mutter' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mWM\e[0m\e[0m:\e[0m Mutter\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info 'WM Theme' wm_theme | |
+ [[ -n wm_theme ]] | |
+ subtitle='WM Theme' | |
+ unset -v prin | |
+ get_wm_theme | |
+ (( wm_run != 1 )) | |
+ (( de_run != 1 )) | |
+ case $wm in | |
+ type -p gsettings | |
++ gsettings get org.gnome.shell.extensions.user-theme name | |
No such schema ?org.gnome.shell.extensions.user-theme? | |
+ wm_theme= | |
+ [[ -n '' ]] | |
++ gsettings get org.gnome.desktop.wm.preferences theme | |
+ wm_theme=''\''Adwaita'\''' | |
++ trim_quotes ''\''Adwaita'\''' | |
++ trim_output=Adwaita | |
++ trim_output=Adwaita | |
++ printf %s Adwaita | |
+ wm_theme=Adwaita | |
+ [[ -n '' ]] | |
+ [[ -n wm_theme ]] | |
++ trim Adwaita | |
++ set -f | |
++ set -- Adwaita | |
++ printf '%s\n' Adwaita | |
++ set +f | |
+ output=Adwaita | |
+ [[ -n wm_theme ]] | |
+ [[ -n Adwaita ]] | |
+ prin 'WM Theme' Adwaita | |
++ trim 'WM Theme' | |
++ set -f | |
++ set -- WM Theme | |
++ printf '%s\n' 'WM Theme' | |
++ set +f | |
+ [[ -n WM Theme ]] | |
+ [[ -n Adwaita ]] | |
+ [[ -n '' ]] | |
+ string='WM Theme: Adwaita' | |
++ trim 'WM Theme: Adwaita' | |
++ set -f | |
++ set -- WM Theme: Adwaita | |
++ printf '%s\n' 'WM Theme: Adwaita' | |
++ set +f | |
+ string='WM Theme: Adwaita' | |
++ strip_sequences 'WM Theme: Adwaita' | |
++ strip='WM Theme: Adwaita' | |
++ strip='WM Theme: Adwaita' | |
++ printf '%s\n' 'WM Theme: Adwaita' | |
+ length='WM Theme: Adwaita' | |
+ length=17 | |
+ string='WM Theme\e[0m\e[0m:\e[0m Adwaita' | |
+ string='[38;5;12m\e[1mWM Theme\e[0m\e[0m:\e[0m Adwaita' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mWM Theme\e[0m\e[0m:\e[0m Adwaita\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info Theme theme | |
+ [[ -n theme ]] | |
+ subtitle=Theme | |
+ unset -v prin | |
+ get_theme | |
+ name=gtk-theme-name | |
+ gsettings=gtk-theme | |
+ gconf=gtk_theme | |
+ xfconf=/Net/ThemeName | |
+ kde=widgetStyle | |
+ lxqt=style | |
+ qt5ct=style= | |
+ fly=ColorScheme | |
+ get_style | |
+ unset qt_theme gtk2_theme gtk3_theme theme path | |
+ [[ -n :0 ]] | |
+ [[ Linux != \M\a\c\ \O\S\ \X ]] | |
+ [[ Linux != \m\a\c\O\S ]] | |
+ (( de_run != 1 )) | |
+ [[ on == on ]] | |
+ de=GNOME | |
+ case $de in | |
+ type -p gsettings | |
++ gsettings get org.gnome.desktop.interface gtk-theme | |
+ gtk3_theme=''\''Adwaita'\''' | |
+ gtk2_theme=''\''Adwaita'\''' | |
+ [[ -z 'Adwaita' ]] | |
+ [[ -z 'Adwaita' ]] | |
+ [[ -z 'Adwaita' ]] | |
+ [[ '' == \q\t\5\c\t ]] | |
+ [[ widgetStyle == \w\i\d\g\e\t\S\t\y\l\e ]] | |
+ [[ -n '' ]] | |
+ [[ widgetStyle == \f\o\n\t ]] | |
++ trim ''\''Adwaita'\''' | |
++ set -f | |
++ set -- ''\''Adwaita'\''' | |
++ printf '%s\n' ''\''Adwaita'\''' | |
++ set +f | |
+ gtk2_theme=''\''Adwaita'\''' | |
++ trim ''\''Adwaita'\''' | |
++ set -f | |
++ set -- ''\''Adwaita'\''' | |
++ printf '%s\n' ''\''Adwaita'\''' | |
++ set +f | |
+ gtk3_theme=''\''Adwaita'\''' | |
++ trim '' | |
++ set -f | |
++ set -- | |
++ printf '%s\n' '' | |
++ set +f | |
+ qt_theme= | |
++ trim '' | |
++ set -f | |
++ set -- | |
++ printf '%s\n' '' | |
++ set +f | |
+ kde_theme= | |
++ trim_quotes ''\''Adwaita'\''' | |
++ trim_output=Adwaita | |
++ trim_output=Adwaita | |
++ printf %s Adwaita | |
+ gtk2_theme=Adwaita | |
++ trim_quotes ''\''Adwaita'\''' | |
++ trim_output=Adwaita | |
++ trim_output=Adwaita | |
++ printf %s Adwaita | |
+ gtk3_theme=Adwaita | |
++ trim_quotes '' | |
++ trim_output= | |
++ trim_output= | |
++ printf %s '' | |
+ qt_theme= | |
++ trim_quotes '' | |
++ trim_output= | |
++ trim_output= | |
++ printf %s '' | |
+ kde_theme= | |
+ case "$qt_theme" in | |
+ [[ on == \o\f\f ]] | |
+ [[ on == \o\f\f ]] | |
+ [[ on == \o\f\f ]] | |
+ theme= | |
+ local cur_theme= | |
+ append_theme '' KDE | |
+ [[ -n '' ]] | |
+ append_theme '' Fly | |
+ [[ -n '' ]] | |
+ append_theme '' Qt | |
+ [[ -n '' ]] | |
+ append_theme Adwaita GTK2 | |
+ [[ -n Adwaita ]] | |
+ [[ Adwaita == '' ]] | |
+ theme+='], Adwaita [GTK2' | |
+ cur_theme=Adwaita | |
+ append_theme Adwaita GTK3 | |
+ [[ -n Adwaita ]] | |
+ [[ Adwaita == \A\d\w\a\i\t\a ]] | |
+ theme+=/GTK3 | |
+ [[ -n ], Adwaita [GTK2/GTK3 ]] | |
+ theme+=']' | |
+ theme='Adwaita [GTK2/GTK3]' | |
+ theme='Adwaita [GTK2/3]' | |
+ theme='Adwaita [GTK2/3]' | |
+ [[ off == \o\n ]] | |
+ [[ -n '' ]] | |
+ [[ -n theme ]] | |
++ trim 'Adwaita [GTK2/3]' | |
++ set -f | |
++ set -- Adwaita '[GTK2/3]' | |
++ printf '%s\n' 'Adwaita [GTK2/3]' | |
++ set +f | |
+ output='Adwaita [GTK2/3]' | |
+ [[ -n theme ]] | |
+ [[ -n Adwaita[GTK2/3] ]] | |
+ prin Theme 'Adwaita [GTK2/3]' | |
++ trim Theme | |
++ set -f | |
++ set -- Theme | |
++ printf '%s\n' Theme | |
++ set +f | |
+ [[ -n Theme ]] | |
+ [[ -n Adwaita [GTK2/3] ]] | |
+ [[ -n '' ]] | |
+ string='Theme: Adwaita [GTK2/3]' | |
++ trim 'Theme: Adwaita [GTK2/3]' | |
++ set -f | |
++ set -- Theme: Adwaita '[GTK2/3]' | |
++ printf '%s\n' 'Theme: Adwaita [GTK2/3]' | |
++ set +f | |
+ string='Theme: Adwaita [GTK2/3]' | |
++ strip_sequences 'Theme: Adwaita [GTK2/3]' | |
++ strip='Theme: Adwaita [GTK2/3]' | |
++ strip='Theme: Adwaita [GTK2/3]' | |
++ printf '%s\n' 'Theme: Adwaita [GTK2/3]' | |
+ length='Theme: Adwaita [GTK2/3]' | |
+ length=23 | |
+ string='Theme\e[0m\e[0m:\e[0m Adwaita [GTK2/3]' | |
+ string='[38;5;12m\e[1mTheme\e[0m\e[0m:\e[0m Adwaita [GTK2/3]' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mTheme\e[0m\e[0m:\e[0m Adwaita [GTK2/3]\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info Icons icons | |
+ [[ -n icons ]] | |
+ subtitle=Icons | |
+ unset -v prin | |
+ get_icons | |
+ name=gtk-icon-theme-name | |
+ gsettings=icon-theme | |
+ gconf=icon_theme | |
+ xfconf=/Net/IconThemeName | |
+ kde=Theme | |
+ lxqt=icon_theme | |
+ qt5ct=icon_theme | |
+ fly=IconTheme | |
+ get_style | |
+ unset qt_theme gtk2_theme gtk3_theme theme path | |
+ [[ -n :0 ]] | |
+ [[ Linux != \M\a\c\ \O\S\ \X ]] | |
+ [[ Linux != \m\a\c\O\S ]] | |
+ (( de_run != 1 )) | |
+ [[ on == on ]] | |
+ de=GNOME | |
+ case $de in | |
+ type -p gsettings | |
++ gsettings get org.gnome.desktop.interface icon-theme | |
+ gtk3_theme=''\''Adwaita'\''' | |
+ gtk2_theme=''\''Adwaita'\''' | |
+ [[ -z 'Adwaita' ]] | |
+ [[ -z 'Adwaita' ]] | |
+ [[ -z 'Adwaita' ]] | |
+ [[ '' == \q\t\5\c\t ]] | |
+ [[ Theme == \w\i\d\g\e\t\S\t\y\l\e ]] | |
+ [[ Theme == \f\o\n\t ]] | |
++ trim ''\''Adwaita'\''' | |
++ set -f | |
++ set -- ''\''Adwaita'\''' | |
++ printf '%s\n' ''\''Adwaita'\''' | |
++ set +f | |
+ gtk2_theme=''\''Adwaita'\''' | |
++ trim ''\''Adwaita'\''' | |
++ set -f | |
++ set -- ''\''Adwaita'\''' | |
++ printf '%s\n' ''\''Adwaita'\''' | |
++ set +f | |
+ gtk3_theme=''\''Adwaita'\''' | |
++ trim '' | |
++ set -f | |
++ set -- | |
++ printf '%s\n' '' | |
++ set +f | |
+ qt_theme= | |
++ trim '' | |
++ set -f | |
++ set -- | |
++ printf '%s\n' '' | |
++ set +f | |
+ kde_theme= | |
++ trim_quotes ''\''Adwaita'\''' | |
++ trim_output=Adwaita | |
++ trim_output=Adwaita | |
++ printf %s Adwaita | |
+ gtk2_theme=Adwaita | |
++ trim_quotes ''\''Adwaita'\''' | |
++ trim_output=Adwaita | |
++ trim_output=Adwaita | |
++ printf %s Adwaita | |
+ gtk3_theme=Adwaita | |
++ trim_quotes '' | |
++ trim_output= | |
++ trim_output= | |
++ printf %s '' | |
+ qt_theme= | |
++ trim_quotes '' | |
++ trim_output= | |
++ trim_output= | |
++ printf %s '' | |
+ kde_theme= | |
+ case "$qt_theme" in | |
+ [[ on == \o\f\f ]] | |
+ [[ on == \o\f\f ]] | |
+ [[ on == \o\f\f ]] | |
+ theme= | |
+ local cur_theme= | |
+ append_theme '' KDE | |
+ [[ -n '' ]] | |
+ append_theme '' Fly | |
+ [[ -n '' ]] | |
+ append_theme '' Qt | |
+ [[ -n '' ]] | |
+ append_theme Adwaita GTK2 | |
+ [[ -n Adwaita ]] | |
+ [[ Adwaita == '' ]] | |
+ theme+='], Adwaita [GTK2' | |
+ cur_theme=Adwaita | |
+ append_theme Adwaita GTK3 | |
+ [[ -n Adwaita ]] | |
+ [[ Adwaita == \A\d\w\a\i\t\a ]] | |
+ theme+=/GTK3 | |
+ [[ -n ], Adwaita [GTK2/GTK3 ]] | |
+ theme+=']' | |
+ theme='Adwaita [GTK2/GTK3]' | |
+ theme='Adwaita [GTK2/3]' | |
+ theme='Adwaita [GTK2/3]' | |
+ [[ off == \o\n ]] | |
+ icons='Adwaita [GTK2/3]' | |
+ [[ -n '' ]] | |
+ [[ -n icons ]] | |
++ trim 'Adwaita [GTK2/3]' | |
++ set -f | |
++ set -- Adwaita '[GTK2/3]' | |
++ printf '%s\n' 'Adwaita [GTK2/3]' | |
++ set +f | |
+ output='Adwaita [GTK2/3]' | |
+ [[ -n icons ]] | |
+ [[ -n Adwaita[GTK2/3] ]] | |
+ prin Icons 'Adwaita [GTK2/3]' | |
++ trim Icons | |
++ set -f | |
++ set -- Icons | |
++ printf '%s\n' Icons | |
++ set +f | |
+ [[ -n Icons ]] | |
+ [[ -n Adwaita [GTK2/3] ]] | |
+ [[ -n '' ]] | |
+ string='Icons: Adwaita [GTK2/3]' | |
++ trim 'Icons: Adwaita [GTK2/3]' | |
++ set -f | |
++ set -- Icons: Adwaita '[GTK2/3]' | |
++ printf '%s\n' 'Icons: Adwaita [GTK2/3]' | |
++ set +f | |
+ string='Icons: Adwaita [GTK2/3]' | |
++ strip_sequences 'Icons: Adwaita [GTK2/3]' | |
++ strip='Icons: Adwaita [GTK2/3]' | |
++ strip='Icons: Adwaita [GTK2/3]' | |
++ printf '%s\n' 'Icons: Adwaita [GTK2/3]' | |
+ length='Icons: Adwaita [GTK2/3]' | |
+ length=23 | |
+ string='Icons\e[0m\e[0m:\e[0m Adwaita [GTK2/3]' | |
+ string='[38;5;12m\e[1mIcons\e[0m\e[0m:\e[0m Adwaita [GTK2/3]' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mIcons\e[0m\e[0m:\e[0m Adwaita [GTK2/3]\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info Terminal term | |
+ [[ -n term ]] | |
+ subtitle=Terminal | |
+ unset -v prin | |
+ get_term | |
+ (( term_run == 1 )) | |
+ case $TERM_PROGRAM in | |
+ term= | |
+ [[ xterm-256color == \t\w\5\2 ]] | |
+ [[ xterm-256color == \t\w\1\0\0 ]] | |
+ [[ -n '' ]] | |
+ [[ -n '' ]] | |
+ [[ -z '' ]] | |
++ get_ppid '' | |
++ case $os in | |
+++ grep -i -F PPid: /proc/4897/status | |
++ ppid='PPid: 2981' | |
+++ trim ' 2981' | |
+++ set -f | |
+++ set -- 2981 | |
+++ printf '%s\n' 2981 | |
+++ set +f | |
++ ppid=2981 | |
++ printf %s 2981 | |
+ parent=2981 | |
+ [[ -z 2981 ]] | |
++ get_process_name 2981 | |
++ case $os in | |
++ read -rd '' name | |
++ printf %s /usr/libexec/gnome-terminal-server | |
+ name=/usr/libexec/gnome-terminal-server | |
+ case ${name##*/} in | |
+ term=gnome-terminal | |
+ [[ -z gnome-terminal ]] | |
+ [[ '' == \1 ]] | |
+ [[ -z gnome-terminal ]] | |
+ [[ gnome-terminal == \c\o\m\.\t\e\r\m\u\x ]] | |
+ term_run=1 | |
+ [[ -n '' ]] | |
+ [[ -n term ]] | |
++ trim gnome-terminal | |
++ set -f | |
++ set -- gnome-terminal | |
++ printf '%s\n' gnome-terminal | |
++ set +f | |
+ output=gnome-terminal | |
+ [[ -n term ]] | |
+ [[ -n gnome-terminal ]] | |
+ prin Terminal gnome-terminal | |
++ trim Terminal | |
++ set -f | |
++ set -- Terminal | |
++ printf '%s\n' Terminal | |
++ set +f | |
+ [[ -n Terminal ]] | |
+ [[ -n gnome-terminal ]] | |
+ [[ -n '' ]] | |
+ string='Terminal: gnome-terminal' | |
++ trim 'Terminal: gnome-terminal' | |
++ set -f | |
++ set -- Terminal: gnome-terminal | |
++ printf '%s\n' 'Terminal: gnome-terminal' | |
++ set +f | |
+ string='Terminal: gnome-terminal' | |
++ strip_sequences 'Terminal: gnome-terminal' | |
++ strip='Terminal: gnome-terminal' | |
++ strip='Terminal: gnome-terminal' | |
++ printf '%s\n' 'Terminal: gnome-terminal' | |
+ length='Terminal: gnome-terminal' | |
+ length=24 | |
+ string='Terminal\e[0m\e[0m:\e[0m gnome-terminal' | |
+ string='[38;5;12m\e[1mTerminal\e[0m\e[0m:\e[0m gnome-terminal' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mTerminal\e[0m\e[0m:\e[0m gnome-terminal\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info 'Terminal Font' term_font | |
+ [[ -n term_font ]] | |
+ subtitle='Terminal Font' | |
+ unset -v prin | |
+ get_term_font | |
+ (( term_run != 1 )) | |
+ case $term in | |
+ [[ -n '' ]] | |
+ [[ -n term_font ]] | |
++ trim '' | |
++ set -f | |
++ set -- | |
++ printf '%s\n' '' | |
++ set +f | |
+ output= | |
+ [[ -n term_font ]] | |
+ [[ -n '' ]] | |
+ [[ -n '' ]] | |
+ err 'Info: Couldn'\''t detect Terminal Font.' | |
++ color 1 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 1 | |
+ err+='[0m[31m[!]\e[0m Info: Couldn'\''t detect Terminal Font. | |
' | |
+ unset -v subtitle | |
+ info CPU cpu | |
+ [[ -n cpu ]] | |
+ subtitle=CPU | |
+ unset -v prin | |
+ get_cpu | |
+ case $os in | |
+ cpu_file=/proc/cpuinfo | |
+ case $kernel_machine in | |
+ [[ -z '' ]] | |
++ awk -F '\\s*: | @' '/model name|Model|uarch|Hardware|Processor|^cpu model|chip type|^cpu type/ { print $2; exit}' /proc/cpuinfo | |
+ cpu='Intel(R) Core(TM) i5-7360U CPU' | |
+ [[ -z Intel(R) Core(TM) i5-7360U CPU ]] | |
+ speed_dir=/sys/devices/system/cpu/cpu0/cpufreq | |
+ for temp_dir in /sys/class/hwmon/* | |
+ [[ ADP1 =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]] | |
+ for temp_dir in /sys/class/hwmon/* | |
+ [[ nvme =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]] | |
+ for temp_dir in /sys/class/hwmon/* | |
+ [[ BAT0 =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]] | |
+ for temp_dir in /sys/class/hwmon/* | |
+ [[ BAT0 =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]] | |
+ for temp_dir in /sys/class/hwmon/* | |
/var/home/dracula/.local/bin/neofetch: line 2880: /sys/class/hwmon/hwmon4/name: No such file or directory | |
+ [[ '' =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]] | |
+ for temp_dir in /sys/class/hwmon/* | |
+ [[ coretemp =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]] | |
+ temp_dirs=("$temp_dir"/temp*_input) | |
+ temp_dir=/sys/class/hwmon/hwmon5/temp1_input | |
+ break | |
+ grep -q 'Raspberry Pi' /proc/device-tree/model | |
grep: /proc/device-tree/model: No such file or directory | |
+ [[ -d /sys/devices/system/cpu/cpu0/cpufreq ]] | |
/var/home/dracula/.local/bin/neofetch: line 2895: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory | |
+ speed= | |
/var/home/dracula/.local/bin/neofetch: line 2896: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory | |
+ speed= | |
+ speed=3600000 | |
+ speed=3600 | |
+ [[ -f /sys/class/hwmon/hwmon5/temp1_input ]] | |
+ deg=420 | |
+ case $kernel_machine in | |
++ grep 'physical id' /proc/cpuinfo | |
++ sort -u | |
++ wc -l | |
+ sockets=1 | |
+ case $cpu_cores in | |
++ grep -c '^processor' /proc/cpuinfo | |
+ cores=4 | |
+ cpu='Intel(R) Core i5-7360U CPU' | |
+ cpu='Intel(R) Core i5-7360U CPU' | |
+ cpu='Intel Core i5-7360U CPU' | |
+ cpu='Intel Core i5-7360U CPU' | |
+ cpu='Intel Core i5-7360U ' | |
+ cpu='Intel Core i5-7360U ' | |
+ cpu='Intel Core i5-7360U ' | |
+ cpu='Intel Core i5-7360U ' | |
+ cpu='Intel Core i5-7360U ' | |
+ cpu='Intel Core i5-7360U ' | |
+ cpu='Intel Core i5-7360U ' | |
+ cpu='Intel Core i5-7360U ' | |
+ cpu='Intel Core i5-7360U ' | |
+ cpu='Intel i5-7360U ' | |
+ cpu='Intel i5-7360U ' | |
+ cpu='Intel i5-7360U ' | |
+ cpu='Intel i5-7360U ' | |
+ cpu='Intel i5-7360U ' | |
+ cpu='Intel i5-7360U ' | |
+ cpu='Intel i5-7360U ' | |
+ cpu='Intel i5-7360U ' | |
+ cores=4 | |
+ speed=3600 | |
+ [[ on == \o\f\f ]] | |
+ [[ logical != \o\f\f ]] | |
+ [[ -n 4 ]] | |
+ case $os in | |
+ [[ -n 1 ]] | |
+ [[ 1 -gt 1 ]] | |
+ cpu='Intel i5-7360U (4)' | |
+ [[ on != \o\f\f ]] | |
+ [[ -n 3600 ]] | |
+ (( speed < 1000 )) | |
+ [[ off == \o\n ]] | |
+ speed=3.600 | |
+ cpu='Intel i5-7360U (4) @ 3.600GHz' | |
+ [[ off != \o\f\f ]] | |
+ [[ -n '' ]] | |
+ [[ -n cpu ]] | |
++ trim 'Intel i5-7360U (4) @ 3.600GHz' | |
++ set -f | |
++ set -- Intel i5-7360U '(4)' @ 3.600GHz | |
++ printf '%s\n' 'Intel i5-7360U (4) @ 3.600GHz' | |
++ set +f | |
+ output='Intel i5-7360U (4) @ 3.600GHz' | |
+ [[ -n cpu ]] | |
+ [[ -n Inteli5-7360U(4)@3.600GHz ]] | |
+ prin CPU 'Intel i5-7360U (4) @ 3.600GHz' | |
++ trim CPU | |
++ set -f | |
++ set -- CPU | |
++ printf '%s\n' CPU | |
++ set +f | |
+ [[ -n CPU ]] | |
+ [[ -n Intel i5-7360U (4) @ 3.600GHz ]] | |
+ [[ -n '' ]] | |
+ string='CPU: Intel i5-7360U (4) @ 3.600GHz' | |
++ trim 'CPU: Intel i5-7360U (4) @ 3.600GHz' | |
++ set -f | |
++ set -- CPU: Intel i5-7360U '(4)' @ 3.600GHz | |
++ printf '%s\n' 'CPU: Intel i5-7360U (4) @ 3.600GHz' | |
++ set +f | |
+ string='CPU: Intel i5-7360U (4) @ 3.600GHz' | |
++ strip_sequences 'CPU: Intel i5-7360U (4) @ 3.600GHz' | |
++ strip='CPU: Intel i5-7360U (4) @ 3.600GHz' | |
++ strip='CPU: Intel i5-7360U (4) @ 3.600GHz' | |
++ printf '%s\n' 'CPU: Intel i5-7360U (4) @ 3.600GHz' | |
+ length='CPU: Intel i5-7360U (4) @ 3.600GHz' | |
+ length=34 | |
+ string='CPU\e[0m\e[0m:\e[0m Intel i5-7360U (4) @ 3.600GHz' | |
+ string='[38;5;12m\e[1mCPU\e[0m\e[0m:\e[0m Intel i5-7360U (4) @ 3.600GHz' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mCPU\e[0m\e[0m:\e[0m Intel i5-7360U (4) @ 3.600GHz\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info GPU gpu | |
+ [[ -n gpu ]] | |
+ subtitle=GPU | |
+ unset -v prin | |
+ get_gpu | |
+ case $os in | |
++ lspci -mm | |
++ awk -F '\"|\" \"|\\(' '/"Display|"3D|"VGA/ { | |
a[$0] = $1 " " $3 " " ($(NF-1) ~ /^$|^Device [[:xdigit:]]+$/ ? $4 : $(NF-1)) | |
} | |
END { for (i in a) { | |
if (!seen[a[i]]++) { | |
sub("^[^ ]+ ", "", a[i]); | |
print a[i] | |
} | |
}}' | |
+ gpu_cmd=' Intel Corporation Iris Plus Graphics 640' | |
+ [[ Intel Corporation Iris Plus Graphics 640 == '' ]] | |
+ IFS=' | |
' | |
+ read -d '' -ra gpus | |
+ [[ Intel Corporation Iris Plus Graphics 640 == *Intel* ]] | |
+ [[ '' == *Intel* ]] | |
+ for gpu in "${gpus[@]}" | |
+ [[ all == \d\e\d\i\c\a\t\e\d ]] | |
+ [[ all == \i\n\t\e\g\r\a\t\e\d ]] | |
+ case $gpu in | |
+ gpu='Intel Corporation Iris Plus Graphics 640' | |
+ gpu='Intel Corporation Iris Plus Graphics 640' | |
+ gpu='Intel Iris Plus Graphics 640' | |
+ gpu='Intel Iris Plus Graphics 640' | |
+ gpu='Intel Iris Plus Graphics 640' | |
+ gpu='Intel Iris Plus Graphics 640' | |
++ trim 'Intel Iris Plus Graphics 640' | |
++ set -f | |
++ set -- Intel Iris Plus Graphics 640 | |
++ printf '%s\n' 'Intel Iris Plus Graphics 640' | |
++ set +f | |
+ [[ -z Intel Iris Plus Graphics 640 ]] | |
+ [[ on == \o\f\f ]] | |
+ prin GPU 'Intel Iris Plus Graphics 640' | |
++ trim GPU | |
++ set -f | |
++ set -- GPU | |
++ printf '%s\n' GPU | |
++ set +f | |
+ [[ -n GPU ]] | |
+ [[ -n Intel Iris Plus Graphics 640 ]] | |
+ [[ -n '' ]] | |
+ string='GPU: Intel Iris Plus Graphics 640' | |
++ trim 'GPU: Intel Iris Plus Graphics 640' | |
++ set -f | |
++ set -- GPU: Intel Iris Plus Graphics 640 | |
++ printf '%s\n' 'GPU: Intel Iris Plus Graphics 640' | |
++ set +f | |
+ string='GPU: Intel Iris Plus Graphics 640' | |
++ strip_sequences 'GPU: Intel Iris Plus Graphics 640' | |
++ strip='GPU: Intel Iris Plus Graphics 640' | |
++ strip='GPU: Intel Iris Plus Graphics 640' | |
++ printf '%s\n' 'GPU: Intel Iris Plus Graphics 640' | |
+ length='GPU: Intel Iris Plus Graphics 640' | |
+ length=33 | |
+ string='GPU\e[0m\e[0m:\e[0m Intel Iris Plus Graphics 640' | |
+ string='[38;5;12m\e[1mGPU\e[0m\e[0m:\e[0m Intel Iris Plus Graphics 640' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mGPU\e[0m\e[0m:\e[0m Intel Iris Plus Graphics 640\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ return | |
+ [[ -n 1 ]] | |
+ return | |
+ info Memory memory | |
+ [[ -n memory ]] | |
+ subtitle=Memory | |
+ unset -v prin | |
+ get_memory | |
+ case $os in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ (( mem_used+= 7980040 )) | |
+ mem_total=' 7980040 ' | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ mem_used=7434288 | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ mem_avail=' 4335440 ' | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ mem_used=7434208 | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ mem_used=2634140 | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ (( mem_used+= 1046692 )) | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ mem_used=3265464 | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ IFS=: | |
+ read -r a b | |
+ [[ -n 4335440 ]] | |
+ mem_used=3644600 | |
+ [[ off == \o\n ]] | |
+ mem_unit_divider=1 | |
+ mem_unit_multiplier=100 | |
+ mu_kib=3644600 | |
+ mt_kib=' 7980040 ' | |
+ case $memory_unit in | |
+ mem_label=MiB | |
+ mem_unit_divider=1024 | |
+ test 1024 -ge 1 | |
+ case ${mem_precision} in | |
++ printf '%0*d' 2 17 | |
+ mem_used=3559.17 | |
++ printf '%0*d' 2 0 | |
+ mem_total=7793.00 | |
+ memory='3559.17 MiB / 7793.00 MiB ' | |
+ case $memory_display in | |
+ [[ -n '' ]] | |
+ [[ -n memory ]] | |
++ trim '3559.17 MiB / 7793.00 MiB ' | |
++ set -f | |
++ set -- 3559.17 MiB / 7793.00 MiB | |
++ printf '%s\n' '3559.17 MiB / 7793.00 MiB' | |
++ set +f | |
+ output='3559.17 MiB / 7793.00 MiB' | |
+ [[ -n memory ]] | |
+ [[ -n 3559.17MiB/7793.00MiB ]] | |
+ prin Memory '3559.17 MiB / 7793.00 MiB' | |
++ trim Memory | |
++ set -f | |
++ set -- Memory | |
++ printf '%s\n' Memory | |
++ set +f | |
+ [[ -n Memory ]] | |
+ [[ -n 3559.17 MiB / 7793.00 MiB ]] | |
+ [[ -n '' ]] | |
+ string='Memory: 3559.17 MiB / 7793.00 MiB' | |
++ trim 'Memory: 3559.17 MiB / 7793.00 MiB' | |
++ set -f | |
++ set -- Memory: 3559.17 MiB / 7793.00 MiB | |
++ printf '%s\n' 'Memory: 3559.17 MiB / 7793.00 MiB' | |
++ set +f | |
+ string='Memory: 3559.17 MiB / 7793.00 MiB' | |
++ strip_sequences 'Memory: 3559.17 MiB / 7793.00 MiB' | |
++ strip='Memory: 3559.17 MiB / 7793.00 MiB' | |
++ strip='Memory: 3559.17 MiB / 7793.00 MiB' | |
++ printf '%s\n' 'Memory: 3559.17 MiB / 7793.00 MiB' | |
+ length='Memory: 3559.17 MiB / 7793.00 MiB' | |
+ length=33 | |
+ string='Memory\e[0m\e[0m:\e[0m 3559.17 MiB / 7793.00 MiB' | |
+ string='[38;5;12m\e[1mMemory\e[0m\e[0m:\e[0m 3559.17 MiB / 7793.00 MiB' | |
+ printf '%b\n' '\e[41C[38;5;12m\e[1mMemory\e[0m\e[0m:\e[0m 3559.17 MiB / 7793.00 MiB\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info cols | |
+ [[ -n '' ]] | |
+ unset -v prin | |
+ get_cols | |
+ local blocks blocks2 cols | |
+ [[ on == \o\n ]] | |
+ printf -v block_width %3s | |
+ (( block_range[0] )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '' 0 0 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '[30m[40m ' 1 1 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '[30m[40m [31m[41m ' 2 2 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '[30m[40m [31m[41m [32m[42m ' 3 3 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '[30m[40m [31m[41m [32m[42m [33m[43m ' 4 4 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m ' 5 5 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m ' 6 6 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m ' 7 7 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '' 8 8 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '[38;5;8m[48;5;8m ' 9 9 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m ' 10 10 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m ' 11 11 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m ' 12 12 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m ' 13 13 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m ' 14 14 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ case ${block_range[0]} in | |
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m ' 15 15 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ (( block_range[1] < 16 )) | |
+ [[ xterm-256color == \l\i\n\u\x ]] | |
+ printf -v block_spaces %1s | |
+ [[ 5.2.15(1)-release == 3* ]] | |
+ [[ -n [30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m ]] | |
+ cols+='[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m [39;49mnl' | |
+ [[ -n [38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m ]] | |
+ cols+='[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m [39;49mnl' | |
+ case $col_offset in | |
+ block_offset=41 | |
+ cols='[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m [39;49mnl[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m [39;49m' | |
+ cols='[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m [39;49m | |
[41C[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m [39;49m' | |
+ (( info_height+=block_range[1]>7?block_height+2:block_height+1 )) | |
+ printf '\n\e[%bC%b\n' 41 '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m [39;49m | |
[41C[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m [39;49m' | |
+ unset -v blocks blocks2 cols | |
+ prin=1 | |
+ [[ -n 1 ]] | |
+ return | |
+ dynamic_prompt | |
+ [[ ascii == \o\f\f ]] | |
+ [[ ascii != \a\s\c\i\i ]] | |
+ [[ ascii == \w\3\m ]] | |
+ (( lines=lines>info_height?lines-info_height+1:1 )) | |
+ printf -v nlines %1s | |
+ printf %b '\n' | |
+ [[ ascii == *w3m* ]] | |
+ [[ ascii == *ueberzug* ]] | |
+ err 'Neofetch command: /var/home/dracula/.local/bin/neofetch -vv' | |
++ color 1 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 1 | |
+ err+='[0m[31m[!]\e[0m Neofetch command: /var/home/dracula/.local/bin/neofetch -vv | |
' | |
+ err 'Neofetch version: 7.3.10' | |
++ color 1 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 1 | |
+ err+='[0m[31m[!]\e[0m Neofetch version: 7.3.10 | |
' | |
+ [[ on == on ]] | |
+ printf '%b\033[m' '[0m[31m[!]\e[0m Config: Sourced user config. (/var/home/dracula/.config/neofetch/config.conf) | |
[0m[31m[!]\e[0m Info: Couldn'\''t detect Terminal Font. | |
[0m[31m[!]\e[0m Neofetch command: /var/home/dracula/.local/bin/neofetch -vv | |
[0m[31m[!]\e[0m Neofetch version: 7.3.10 | |
' | |
[0m[31m[!][0m Config: Sourced user config. (/var/home/dracula/.config/neofetch/config.conf) | |
[0m[31m[!][0m Info: Couldn't detect Terminal Font. | |
[0m[31m[!][0m Neofetch command: /var/home/dracula/.local/bin/neofetch -vv | |
[0m[31m[!][0m Neofetch version: 7.3.10 | |
[m+ [[ off == on ]] | |
+ return 0 | |
+ printf '\e[?25h\e[?7h' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment