Skip to content

[Issue #2445] Bash 3.2.57(1)-release "conditional binary operator expected" #210

@suparious

Description

@suparious

Migrated from Original Issue

Original Issue: dylanaraps#2445
Author: @nebularix


Original Description

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

  • Does this issue still occur in the master branch? (Required if issue)

Neofetch version

7.1.0 or master branch

Screenshot

(master branch)
neofetch

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'

This issue was automatically migrated from the archived dylanaraps/neofetch repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    from-upstream-issueMigrated from original dylanaraps/neofetch issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions