💾 Archived View for rawtext.club › ~s0kx › pure-sh-bible › obsolete-syntax.gmi captured on 2023-07-10 at 14:11:41. 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)")"