42shpimanmls / 42sh

Shell project at 42
3 stars 0 forks source link

Add builtin env #141

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

il essaye d'executer un -x

M5oul commented 7 years ago

Bien vu. Bon, je pense qu’on va utiliser ta fonction générique.

n0izn0iz commented 7 years ago

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/env.html Je pose ça la au cas ou

pilespin commented 7 years ago

utility il faut le faire

n0izn0iz commented 7 years ago

The env utility shall conform to XBD Utility Syntax Guidelines

126

pilespin commented 7 years ago

126 uniquement si 42sh posix

n0izn0iz commented 7 years ago

au strict minimum les options dictées par le standard POSIX

Dans le sujet

M5oul commented 7 years ago

Moved to #148.