News for hackers. Stuff that matters.
Re:Lowercase – A simple way to take and share notes by _wire_ on Friday May 03, 2024 @10:19PM (#40254293)
> if [[ ''$(git status --porcelain) ]]; then

> ... "''$(date)"

What is the purpose of the '' syntax?

Re:Lowercase – A simple way to take and share notes by pkulak on Saturday May 04, 2024 @02:11AM (#40255314)
Sorry. Nix. And it’s too late to edit.
Re:Lowercase – A simple way to take and share notes by _wire_ on Saturday May 04, 2024 @02:24AM (#40255377)
Thx, just wondering if that was an arcane bash idiom. Very tricky to get anything useful from the web about ''.
Re:Lowercase – A simple way to take and share notes by DemocracyFTW2 on Saturday May 04, 2024 @08:44AM (#40257240)
Bash and Perl, where any number of punctuation marks in a row could plausibly mean something