execline: how to upgrade
Keywords: execline installation upgrade

execline
Software
skarnet.org

# What has changed in execline

## in 2.9.9.1

- No functional changes.

## in 2.9.9.0

- skalibs dependency bumped to 2.15.0.0.
- nsss optional dependency bumped to 0.2.1.2.

## in 2.9.8.1

- skalibs dependency bumped to 2.14.5.1.

## in 2.9.8.0

- skalibs dependency bumped to 2.14.5.0.
- nsss optional dependency bumped to 0.2.1.1.
- Shared libraries are now supported on MacOS.

## in 2.9.7.0

- skalibs dependency bumped to 2.14.4.0.
- nsss optional dependency bumped to 0.2.1.0.
- New `-P` option to forx and forstdin.

## in 2.9.6.1

- skalibs dependency bumped to 2.14.3.0.
- nsss optional dependency bumped to 0.2.0.5.
- Static libraries install in `/usr/lib` by default.

## in 2.9.6.0

- skalibs dependency bumped to 2.14.2.0.
- elglob now has an option to provide its results as one word (including the possibility of netstring encoding).
- importas now has an option that can be used instead of repeating a variable when it is imported with the same name.

## in 2.9.5.1

- No functional changes.

## in 2.9.5.0

- skalibs dependency bumped to 2.14.1.1.
- backtick now sets the ? environment variable, similarly to foreground, when it can be nonzero.

## in 2.9.4.0

- skalibs dependency bumped to 2.14.0.0.
- nsss optional dependency bumped to 0.2.0.4.

## in 2.9.3.0

- New `-D default` option to elgetopt.

## in 2.9.2.1

- No functional changes.

## in 2.9.2.0

- skalibs dependency bumped to 2.13.1.0.
- New experimental multicall feature, with a new execline binary.

## in 2.9.1.0

- skalibs dependency bumped to 2.13.0.0.
- nsss optional dependency bumped to 0.2.0.2.
- New program: eltest.

## in 2.9.0.1

- No functional changes.

## in 2.9.0.0

- skalibs dependency bumped to 2.12.0.0.
- New options to wait: `-o` to wait for one of the listed processes, and `-a` to get the default behaviour.
- wait now exits 99 on timeout.

## in 2.8.3.0

- skalibs dependency bumped to 2.11.2.0.
- New options to getpid: `-P` to get the parent's pid, and `-p` to get the default behaviour.

## in 2.8.2.0

- skalibs dependency bumped to 2.11.1.0.
- nsss optional dependency bumped to 0.2.0.1.
- New options to case.

## in 2.8.1.0

- skalibs dependency bumped to 2.11.0.0.
- New binary: case.

## in 2.8.0.1

- skalibs dependency bumped to 2.10.0.3.

## in 2.8.0.0

- skalibs dependency bumped to 2.10.0.2.
- backtick options have changed slightly, and now propagates subprocess failure by default.

## in 2.7.0.1

- skalibs dependency bumped to 2.10.0.1.

## in 2.7.0.0

- skalibs dependency bumped to 2.10.0.0.
- nsss optional dependency bumped to 0.1.0.0.
- forstdin now exits 1 on immediate EOF, and only splits on newlines by default.
- forbacktickx, which is a wrapper around forstdin, gets the same changes.
- Input-processing binaries (not substitution binaries!) now chomp by default.
- New `-N` option to deactivate chomping.
- New `default` directive to trap, replacing the `timeout` one, which was ill-suited to that program.

## in 2.6.1.1

- skalibs dependency bumped to 2.9.3.0.

## in 2.6.1.0

- The envfile format has changed. It is now more expressive and largely compatible with systemd's EnvironmentFile format. The new format is a superset of the old one, so old envfiles should still be understood by the new binary.

## in 2.6.0.2

- No functional changes

## in 2.6.0.1

- skalibs dependency bumped to 2.9.2.1.

## in 2.6.0.0

- skalibs dependency bumped to 2.9.2.0.
- dollarat now has its `-0` and `-d` priority unified. (Rightmost priority.)
- runblock now accepts a command line prefix, given as runblock's own command line.
- New binary: posix-umask.
- `cd` has been renamed execline-cd.
- `umask` has been renamed execline-umask.
- At installation time, `cd` and `umask` symbolic links are created, pointing to either the `posix-` or `execline-` -prefixed version of the commands, depending on whether the `--enable-pedantic-posix` option was given or not.

## in 2.5.3.0

- skalibs dependency bumped to 2.9.1.0.
- `--enable-pedantic-posix` configure option added.
- posix-cd binary added.
- wait binary made POSIX-compliant.

## in 2.5.2.0

- skalibs dependency bumped to 2.9.0.0.

## in 2.5.1.0

- skalibs dependency bumped to 2.8.0.0.
- New command: envfile.
- Everything now builds as PIC by default no matter the toolchain's settings. Use the `--disable-all-pic` configure option to build executables and static libraries as non-PIC.

## in 2.5.0.1

- skalibs dependency bumped to 2.7.0.0
- Optional nsss support added.

## in 2.5.0.0

- skalibs dependency bumped to 2.6.4.0
- The `import` command has been removed.

## in 2.3.0.4

- skalibs dependency bumped to 2.6.2.0

## in 2.3.0.3

- skalibs dependency bumped to 2.6.0.1

## in 2.3.0.2

- skalibs dependency bumped to 2.6.0.0
- Commands now exit 127 (not found) or 126 (other error) if they cannot exec into a program they're supposed to.
- The import command will likely disappear very soon. Please switch to importas as soon as possible!

## in 2.3.0.1

- skalibs dependency bumped to 2.5.1.0

## in 2.3.0.0

- skalibs dependency bumped to 2.5.0.0
- import is now marked as obsolescent. It is recommanded to use the importas command instead.

## in 2.2.0.0

- skalibs dependency bumped to 2.4.0.0
- New `-I` option to backtick and withstdinas
- wait can now be given a timeout

## in 2.1.5.0

- skalibs dependency bumped to 2.3.10.0

## in 2.1.4.5

- skalibs dependency bumped to 2.3.8.3

## in 2.1.4.4

- No functional changes

## in 2.1.4.3

- No functional changes

## in 2.1.4.2

- GNU make dependency pushed back to 3.81
- skalibs dependency bumped to 2.3.8.0

## in 2.1.4.1

- skalibs dependency bumped to 2.3.7.1

## in 2.1.4.0

- New `EXECLINE_BLOCK_END_STRING` and `EXECLINE_BLOCK_QUOTE_STRING` macros
- New command: withstdinas. It's a simplification of backtick, which is now implemented as a combination of pipeline and withstdinas.
- Other new command: getcwd.

## in 2.1.3.1

- skalibs dependency bumped to 2.3.6.1

## in 2.1.3.0

- skalibs dependency bumped to 2.3.6.0
- New configure option: `--shebangdir` for script creation automation.

## in 2.1.2.2

- skalibs dependency bumped to 2.3.5.1

## in 2.1.2.1

- Bugfix release, no changes

## in 2.1.2.0

- skalibs dependency bumped to 2.3.4.0
- new command: trap

## in 2.1.1.1

- skalibs dependency bumped to 2.3.3.0
- execlineb parser made into a library function, for easier inclusion in other programs

## in 2.1.1.0

- forstdin added
- forbacktickx rewritten as a wrapper around pipeline and forstdin

## in 2.1.0.0

- skalibs dependency bumped to 2.3.1.0
- foreground now sets the ? environment variable to 256 plus the signal number when its block was killed by a signal (in previous releases it used 126).
- New rules for exit codes of forx, loopwhilex, forbacktickx
- New `-e` option to loopwhilex, deprecating the `-x` option.

## in 2.0.2.1

- skalibs dependency bumped to 2.3.0.0

## in 2.0.2.0

- skalibs dependency bumped to 2.2.1.0
- New command: fdswap
- New `-D` option to backtick

## in 2.0.1.1

- skalibs dependency bumped to 2.2.0.0
- Parallel build fix

## in 2.0.1.0

- skalibs dependency bumped to 2.1.0.0
- `-u` option added to import and importas

## in 2.0.0.0

- The build system has completely changed. It is now a standard `./configure && make && sudo make install` build system. See the enclosed INSTALL file for details.
- slashpackage is not activated by default.
- shared libraries are neither built nor used by default.
- skalibs dependency bumped to 2.0.0.0
- The obsolete -E option to backtick, forx and forbacktickx is not supported anymore.
- multisubstitute does not support the "backtick" directive anymore.