Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-06 | Have env exec, not recurse to builtin. | Denys Nykula | |
My app runs npm i -S better-sqlite3, and node-gyp-bin from the npm upstream has #!/usr/bin/env sh, expecting the system shell. | |||
2019-04-20 | Add xunsetenv() for the error checking. | Rob Landley | |
2019-04-20 | New xsetenv() plumbing (repeatedly set same environment variables without | Rob Landley | |
leaking memory), and mod env command to test it. | |||
2019-03-18 | cmp/env/nice/nohup/sort: use TOYFLAG_ARGFAIL. | Elliott Hughes | |
Also be a bit more consistent about `COMMAND [ARG...]` in usage text. | |||
2017-07-22 | Typo (env -0 was checking the flag wrong). | Rob Landley | |
2017-05-25 | Add -0 to env. | Rob Landley | |
2017-05-25 | Teach env that - as first argument means -i for some reason. (Posix!) | Rob Landley | |
2016-02-10 | implement env -u | izabera | |
2015-08-15 | Kylie McClain pointed out that env should clear variables with NAME= by itself. | Rob Landley | |
2015-02-07 | Cleanup pass on env, removing exec_optargs(). | Rob Landley | |
2013-09-05 | env - there were 2 segfaults when run on my Ubuntu 12.04 machine: | Jacek Bukarewicz | |
- one is because eglibc sets environ to NULL on clearenv(). I added check for environ being not NULL when iterating over environment variables - switched xexec to xexec_optargs because command argument is a pointer to optarg which is freed by xexec. | |||
2012-11-13 | Reindent to two spaces per level. Remove vi: directives that haven't worked ↵ | Rob Landley | |
right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring. | |||
2012-10-08 | New build infrastructure to generate FLAG_ macros and TT alias, #define ↵ | Rob Landley | |
FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate. | |||
2012-08-25 | Regularize command headers, update links to standards documents. | Rob Landley | |
2012-08-25 | Move commands into "posix", "lsb", and "other" menus/directories. | Rob Landley | |