execlineb(1)

πŸ“¦
version 2.9.9.2 Β· 2 versions
  • 2.9.9.2 Β· debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 2.9.9.2 Β· nixpkgs unstable
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– execlineb β€” bestie's guide to the execline script launcher πŸ’–

okay so. welcome to execlineb, part of the General Commands Manual family, and honestly? it's giving main character energy. it's the little launcher that kicks off your execline scripts. no cap. πŸŽ€


✨ NAME ✨

execlineb β€” the command launcher for execline scripts πŸ¦‹


🌸 SYNOPSIS 🌸

execlineb [ -p | -P | -S nmin | -s nmin ] [ -q | -w | -W ] [ -c
commandline ] script args

like yes, that's a lot of brackets. breathe. we'll go through literally every one of them. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -c commandline β€” just run commandline directly, don't go looking for a file. simple as that bestie.

🧚 Options for environment management 🧚

  • -p β€” this one bypasses the push phase: the current frame of positional parameters gets straight-up overwritten. heads up tho β€” the script will not be reentrant. 😭
  • -P β€” bypasses positional parameter handling completely: the environment will not be pushed, and positional parameters get ignored entirely. fun fact: execlineb -P -c 'script' is equivalent to, but more efficient than, execlineb -c 'emptyenv -P script'. You should only use the -P option in standalone scripts that take no arguments, like s6's or runit's run scripts. iykyk. ✨
  • -S nmin β€” substitutes the positional parameters β€” up to at least nmin β€” but it will not push nor set environment variables. so execlineb -S3 -c 'script' is equivalent to, but more efficient than, execlineb -c 'elgetpositionals -P3 emptyenv -P script'. efficiency slay. πŸ’…
  • -s nmin β€” behaves just like the -S option, except it also defines $@ as the rest of the command line after nmin arguments have been removed. cute little bonus. 🫢

πŸŽ€ Options for block syntax checking πŸŽ€

okay so external execline commands that read blocks, like foreground, use the EXECLINE_STRICT environment variable. normally EXECLINE_STRICT is just inherited from the caller, but you can force it unset, set to 1, or set to 2 by giving execlineb the -q, -w or -W option respectively. pick your fighter. πŸ’€

  • -q β€” same as EXECLINE_STRICT is unset. they won't complain at all. not one peep. πŸ™ˆ
  • -w β€” same as EXECLINE_STRICT is set to 1. they will print a warning message on stderr if they find their blocks not to be properly quoted. gentle nudge energy. 🌸
  • -W β€” same as EXECLINE_STRICT is set to 2. they will also die. bestie. no warning shot. πŸ’€

🌈 SEE ALSO 🌈

/usr/share/doc/execline/execlineb.html (in execline-doc package)


⭐ NOTES ⭐

On Debian GNU/Linux system, all binaries from execline package are installed in /usr/lib/execline/bin/. πŸ“

For convenience, a script is provided as /usr/bin/execlineb, which adds /usr/lib/execline/bin/ to PATH when invoked. so thoughtful of them honestly. πŸ₯Ή


and that's the whole thing, bestie!! this page is from Aug 2019 and it lives in section execlineb(1) β€” go forth and launch your scripts, you absolute icon. periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from