💾 Archived View for rawtext.club › ~s0kx › pure-sh-bible › obsolete-syntax.gmi captured on 2024-02-05 at 11:26:33. 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)")"