Tech/SmallBashTricks: Revision history

From ~esantoro

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

17 August 2024

  • curprev 13:3513:35, 17 August 2024Esantoro talk contribs 1,400 bytes +1,400 Created page with "I've been writing shell scripts for many years now and every now and then I get to learn new more or less neat tricks when using bash. In this page I want to collect tricks i find over time. == Unquoted heredocs == You occasionally want to write multi-line strings to files whose syntax may or may not be bash-compatible. Heredocs works great usually, until the content of your multi-line strings contain something bash might want to evaluate:<syntaxhighlight lang="shell-s..." Tag: Visual edit