💾 Archived View for rawtext.club › ~s0kx › pure-sh-bible › obsolete-syntax.gmi captured on 2023-04-19 at 23:03:05. 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)")"