News for hackers. Stuff that matters.
Re:Bash_unit – bash unit testing framework by mauvehaus on Tuesday March 02, 2021 @07:55AM (#26314786)
You're right, but it's neither of those for command interpolation. Double quotes enable variable expansion, single quotes do not. Command interpolation is back quotes, which is a carryover from sh. The more modern bash way is as follows:

   $ echo $(pwd)
Incidentally: how does one type back quotes on an iPhone?!

Edited to add: shellcheck [0] will flag the back quote usage if you're writing a bash script instead of a sh script.

[0] https://www.shellcheck.net/

Re:Bash_unit – bash unit testing framework by justusthane on Tuesday March 02, 2021 @08:01AM (#26314836)
Longpress single-quote.
Re:Bash_unit – bash unit testing framework by mauvehaus on Tuesday March 02, 2021 @08:08AM (#26314889)
That ... lacks discoverability.

`Thank you`!

Re:Bash_unit – bash unit testing framework by sethammons on Tuesday March 02, 2021 @11:10AM (#26316778)
Like most iPhone tips. How was I to discover long press space bar for cursor placement?! I like it, but discoverability...
Re:Bash_unit – bash unit testing framework by Tsiklon on Tuesday March 02, 2021 @11:36AM (#26317107)
It was much better on the 3D Touch equipped models, press “through” the keyboard to get cursor placement, press “through” again while on a word to select the whole word.
Re:Bash_unit – bash unit testing framework by bewuethr on Tuesday March 02, 2021 @01:38PM (#26318714)
ShellCheck always points out backticks as "legacy".
Re:Bash_unit – bash unit testing framework by sethammons on Tuesday March 02, 2021 @11:10AM (#26316782)
Thanks for the correction