Files
42sh/README.md
2025-04-29 12:40:13 +02:00

1.4 KiB

  • :

  • alias

  • alloc

  • astprint

  • builtins

  • cd/chdir

  • date

  • echo

  • env/setenv/unsetenv (env à completer)

  • export

  • eval/exec

  • exit

  • kill

  • limit

  • printenv

  • pushd/popd

  • printf

  • repeat

  • source/.

  • termname

  • time

  • trap

  • wc

  • which/where

  • yes

  • pipes

  • redirections

  • line editing (move, del, multi-line)

  • input shortcut (^A,^E,^R,^V,^F,^B,...)

  • color highlighting in input

  • foreground/background jobs (&), (btln fg, bg, jobs)

  • while/for/foreach loops

  • if / cases

  • ||/&&

  • configuration file

  • script with shebangs

  • -c eval argument

  • -D set env var at boot

  • -e exit on failure

  • -n (dry run mode)

  • -h help (open man?)

  • autocompletion of commands

  • globbing

  • var interpreter

  • inhibitor

  • magic quotes

  • parenthesis (sub-commands)

  • direnv/wakatime integration

  • command history (history btln)

  • arithmetric expansion ($(( x + 1 )))

  • brace expansion: {a,b,c} and {1..10}

  • heredocs

  • functions (:() { :|:& })

  • special env vars: $?, $$, ...

  • git integration (branch)

  • x, e, o & pipefail modes

  • file inquiry operators (-d, f, ...)