📦 execline

62 pages

B

  • background(1)launch a command in the background, then go on with the execution flow✨
  • backtick(1)run a program and stores its output in an environment variable, then execute another program✨

C

  • case(1)conditionally execute a block of commands✨

D

  • define(1)replace a literal with a value, then execute another program✨
  • dollarat(1)print the positional parameters of an execline script✨

E

F

  • fdblock(1)set or unset the O_NONBLOCK flag on a given file descriptor (which makes reading or writing non-blocking or blocking), then execute a program✨
  • fdclose(1)close a given file descriptor, then execute a program✨
  • fdmove(1)move or copy a given file descriptor, then execute a program✨
  • fdreserve(1)update the environment with file descriptors that are guaranteed safe to use, then execute a program✨
  • fdswap(1)swap two file descriptors, then execute a program✨
  • forbacktickx(1)run a program and use its output as loop elements to run another program✨
  • foreground(1)execute a sequence of commands✨
  • forstdin(1)use input as loop elements to run another program✨
  • forx(1)run a loop✨

G

  • getcwd(1)store current working directory into a given environment variable, then executes a program✨
  • getpid(1)store getpid's process ID in a given environment variable, then execute a program✨

H

  • heredoc(1)run a command with a certain string fed to a file descriptor✨
  • homeof(1)print the home directory of a user✨

I

  • if(1)conditionally execute a command✨
  • ifelse(1)perform conditional execution, with two branches✨
  • ifte(1)perform a conditional alternative✨
  • ifthenelse(1)perform a conditional alternative✨
  • importas(1)replace a literal with the value of an environment variable, then execute another program✨

L

M

  • multidefine(1)split a value and defines several variables at once, then execute another program✨
  • multisubstitute(1)perform several substitutions at once in its argv, then execute another program✨

P

  • pipeline(1)run two commands with a pipe between them✨
  • piperw(1)create a pipe (an anonymous one), then execute a program✨
  • posix-cd(1)change the current working directory to a given directory, then execute a program✨
  • posix-umask(1)change file mode creation mask, then execute a program✨

R

  • redirfd(1)redirect a given file descriptor to a file, then execute a program✨
  • runblock(1)execute an execline block✨

S

  • shift(1)bash built-in commands, see bash(1)✨

T

  • trap(1)perform an action when the shell receives a signal✨
  • tryexec(1)execute into a command line, with a fallback✨

U

  • unexport(1)remove a variable from the environment, then execute a program✨

W

  • wait(1)wait for jobs to complete✨
  • withstdinas(1)read the entirety of standard input in an environment variable, and run another program with that additional environment variable✨