3 ms·
> if [[ ''$(git status --porcelain) ]]; then > ... "''$(date)" What is the purpose of the '' syntax?
by _wire_ 2y ago
> if [[ ''$(git status --porcelain) ]]; then
> ... "''$(date)"
What is the purpose of the '' syntax?
- deleted 2y ago[deleted]
- pkulak 2y agoSorry. Nix. And it’s too late to edit.
- _wire_ 2y agoThx, just wondering if that was an arcane bash idiom. Very tricky to get anything useful from the web about ''.
- DemocracyFTW2 2y agoBash and Perl, where any number of punctuation marks in a row could plausibly mean something