mrsh icon indicating copy to clipboard operation
mrsh copied to clipboard

A minimal POSIX shell

Results 65 mrsh issues
Sort by recently updated
recently updated
newest added

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html - [x] Parser - [x] Basic line parser - [x] Comments - [x] Quoting, escaping - [x] Aliases - [x] Parameters, variables - [x] Word expansions - [x] Parameter...

``` $ hello() { HI=0xDEADBEEF; echo $HI; } $ hello > /dev/null 0xDEADBEEF $ exit ``` --- Expected output - ``` $ hello() { HI=0xDEADBEEF; echo $HI; } $ hello...

## Steps to reproduce create `$HOME/temp.env` - ```sh alias echo=_echo _echo() { printf '%s\n' 'You are using the alias'; } echo You are NOT using the alias ``` Now run...

Looks like git repository is missing a test file: ``` $ ./configure && make ... $ LANG=C make check make: *** No rule to make target 'test/conformance/if.sh', needed by 'check'....

I am getting this error about once a day with simple commands like `ls` or running a python script and I cannot reproduce it manually. Seems to originate from [shell/job.c:42](https://git.sr.ht/~emersion/mrsh/tree/master/item/shell/job.c#L42)....

There is a slightly unrelated project called editline[^1][^2], which seems to be from Minix. While mrsh refers to *libedit*[^3], which seems to be from NetBSD. I think I'm not the...

Hi, Running `./configure` works with no errors at first, but running `make` afterwards yields: ```sh Makefile:4: .build/config.mk: No such file or directory Makefile:35: .build/cppcache: No such file or directory make:...

sample: ```sh echo $(( var += 1 )) ``` output: dash, ash, mksh, oksh, yash, zsh(--emulate sh): ``` 1 ``` mrsh: ``` test.sh (arithmetic 1:7): expected a factor after +...

bug

sample: ```sh trap : HUP INT ``` output: ``` ```

sample: ```sh var=/usr/bin echo ${var##*[!/]} ``` output: dash, ash, mksh, oksh, yash, zsh(--emulate sh): ``` ``` mrsh: ``` n ```