3 ms·
It’s quite a common problem with pasting commands from emails (or I guess some other webpages.) Two spaces when writing an email get converted into at least 1
by dan-robertson 6y ago
It’s quite a common problem with pasting commands from emails (or I guess some other webpages.)
Two spaces when writing an email get converted into at least 1 non-breaking space and these make bash sad. Unfortunately there isn’t really a good way to have bash treat them as white space which is annoying.
- rzzzt 6y agoFor me, Bash scripts with CRLF line endings sometimes just exit without doing anything. A quick dos2unix later they are running perfectly.
- mdpye 6y agoI believe it's also Option-Space on a Mac, which one my old colleagues would manage fairly regularly while typing at speed...
- boogies 6y agoCompose Space Space on Free OSes. It’s useful sometimes, though I wish there was a default binding for zero-width space — I resorted to a non-breaking one to unbreak a link followed by an apostrophe yesterday.