You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Running neofetch under Bash 3.2.57 results in "conditional binary operator expected" (line 1359 in 7.1.0 release: [[ $os =~ (AIX|IRIX) ]] && return'
(If this is expected behavior under Bash 3.2 then what is the correct minimum Bash version?)
PLATFORM INFO: SunOS 4.1.4 SPARC sun4
Does this issue still occur in the master branch? (Required if issue)
Neofetch version
7.1.0 or master branch
Screenshot
(master branch)
Config file
(default)
Verbose log
./neofetch: line 1396: conditional binary operator expected
./neofetch: line 1396: syntax error near `=~'
./neofetch: line 1396: ` [[ $os =~ (AIX|IRIX) ]] && return'
The text was updated successfully, but these errors were encountered:
There seems to be no defined minimum version, but Bash 4.0-alpha contains the following release note:
b. Fixed problems parsing arguments to the [[ command's =~ regular expression
matching operator: metacharacter and whitespace parsing.
You may wish to compile bash 4.x and see if the issue continues. I have confirmed neofetch works on bash 4.4 under Solaris 7, Intel Edition (though some lines aren't fetched correctly and the terminal is left in a corrupted state afterwards.)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Running
neofetch
under Bash 3.2.57 results in "conditional binary operator expected" (line 1359 in 7.1.0 release:[[ $os =~ (AIX|IRIX) ]] && return'
(If this is expected behavior under Bash 3.2 then what is the correct minimum Bash version?)
PLATFORM INFO: SunOS 4.1.4 SPARC sun4
Neofetch version
7.1.0 or master branch
Screenshot
(master branch)
Config file
(default)
Verbose log
The text was updated successfully, but these errors were encountered: