-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Just tried nim-2.0.0 on Linux Mint 21.2 (Ubuntu 22.04 based)
import shell
shell:
one:
mkdir foo
pushd foo
echo "Hallo\nWorld" > test.txt
pipe:
cat test.txt
grep H
popd
rm foo/test.txt
rmdir foo
It seems that the quotation marks got lost.
Have i done something wrong?
Just compiled with nim c {file,nim}
Throws following:
ShellCmd: mkdir foo && pushd foo && echo Hallo
World > test.txt && cat test.txt | grep H && popd && rm foo/test.txt && rmdir foo
shell> /bin/sh: 1: pushd: not found
shell> /bin/sh: 2: World: not found
Error when executing: mkdir foo && pushd foo && echo Hallo
World > test.txt && cat test.txt | grep H && popd && rm foo/test.txt && rmdir foo
err>
Metadata
Metadata
Assignees
Labels
No labels