pash
pash copied to clipboard
PaSh: Light-touch Data-Parallel Shell Processing
This issue is here to keep track of quoting issues and fix them all once and for all. The bug has something to do with parsing/unparsing/quoting but we haven't properly...
Upon abnormal exit/kill, `PaSh` should kill the entire process tree under it (without leaving any `eager` or other commands running).
Fix all broken tests named [fix-test-*](https://github.com/binpash/pash/tree/main/evaluation/tests/agg) to have the same behavior both on bash and pash (must also work on the latest pash distro/debian)
I started implementing the C++ aggregator for FreeBSD that corresponds to `sort`. ~It doesn't support any flags and doesn't pass the unit test yet.~ It passes the basic unit test...
We could add groups in the argument parser to improve the help message (https://docs.python.org/3/library/argparse.html#argument-groups). Some reasonable groups would be: - logging/debugging - performance related - bash compatibility (+a, -a, -x,...
This one is super quick. `./pkg.sh` doesn't make sure the directory it writes to exists. To date, `ci.sh` has been creating it to avoid breaking, but that should not be...
The following piece of code, which appends an element to an array, throws an error in pash but in bash ``` while read s_line; do arr[${#arr[*]}]="$s_line" done < ${IN}/${IN_NAME} ```...
As @tammam1998 informed me, there is a bug when using `--r_split` flag in pash and calling functions. Reproduce: ```sh extract_text() { : } extract_tex() { : } test1() { :...
PaSh Preprocessor needs to check whether we are in a context where exit code might be needed to disable `parallel_pipelines`. The first part of this solution is in #384 but...
The IFS variable can be used as the input field separator. Some scripts might modify it which would cause it to change globally. This now causes pash to crash.