42shpimanmls / 42sh

Shell project at 42
3 stars 0 forks source link

Add builtin env #148

Closed M5oul closed 7 years ago

M5oul commented 7 years ago

Some tests

env
env -i
env TOTO=toto TATA=tata
env -i TOTO=toto TATA=tata
env PATH= ls
env -i ls
env TOTO=toto TATA=tata env

pilespin commented 7 years ago

test=1 env il affiche pas la variable

pilespin commented 7 years ago

env -- -w=x not handled

pilespin commented 7 years ago

utilise is an argument

pilespin commented 7 years ago

look export

lsimonne commented 7 years ago

@pilespin env -- -w=x works for me, what's the problem?

(deleted previous comments for clarity)

pilespin commented 7 years ago

it's me

pilespin commented 7 years ago

it return always 127?

M5oul commented 7 years ago

Moved to #156 .