binpash / binpash/pash

-bash flag failures in KOALA from the future branch

Open
#756 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
601
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Running command:
```
export KOALA_SHELL="$PASH_TOP --width 4 --bash"
```
(--width doesn't really matter)

Scripts using this expansion “$1” fail in all ways with --bash (see previous issue)

Validation errors (execute.sh was successful):

Bio: [validate.sh](http://validate.sh/) fails for scripts: image_convert, thumbnail
Ci-cd : [validate.sh](http://validate.sh/) fails for: memcached
Oneliners: [validate.sh](http://validate.sh/) fails for: sort, sort-sort, unique-ips, spell
repl :[validate.sh](http://validate.sh/) produced the following error for ALL KOALA_SHELL attempts **(even without –bash)** :
```
Expected to be on 'bench_branch', but found 'main'
```

Other errors using --bash (execute.sh failed)

Unixfun:
```
cat: '': No such file or directory
```
Covid :
```
cat: '': No such file or directory
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the KOALA_SHELL command with --bash, then run execute.sh and validate.sh against the listed Bio, Ci-cd, Oneliners, Unixfun, and Covid scripts. Compare the $1-related failures and the repl branch error; done means the affected scripts validate and execute successfully with the reported shell modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, shell
Domain
cli, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.