💾 Archived View for rawtext.club › ~s0kx › pure-sh-bible › obsolete-syntax.gmi captured on 2023-01-29 at 03:59:25. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Obsolete syntax

Command Substitution

Use $() instead of ` ` .

Right

var="$(command)"

Wrong

var=`command`

$() can easily be nested whereas `` cannot.

var="$(command "$(command)")"