💾 Archived View for rawtext.club › ~s0kx › pure-sh-bible › obsolete-syntax.gmi captured on 2023-12-28 at 16:50:27. 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)")"