Skip to content

unset POSIXLY_CORRECT for bash#285

Open
step- wants to merge 1 commit intorupa:masterfrom
step-:patch-1
Open

unset POSIXLY_CORRECT for bash#285
step- wants to merge 1 commit intorupa:masterfrom
step-:patch-1

Conversation

@step-
Copy link

@step- step- commented May 2, 2020

If POSIXLY_CORRECT is set in the bash process environment running z somePath produces:

sh: command substitution: line 168: syntax error near unexpected token `<'
sh: command substitution: line 168: ` < <( _z_dirs ) awk -v t="$(date +%s)" -v list="$list" -v typ="$typ" -v q="$fnd" -F"|" ''

If POSIXLY_CORRECT is set in the bash process environment running `z somePath` produces:
```
sh: command substitution: line 168: syntax error near unexpected token `<'
sh: command substitution: line 168: ` < <( _z_dirs ) awk -v t="$(date +%s)" -v list="$list" -v typ="$typ" -v q="$fnd" -F"|" ''
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant