Hacker News new | ask | show | jobs
by dotopotoro 1401 days ago
Trimming version does not trim whitespace indentation. I guess point goes to “tabs” camp.
1 comments

Correct, though you could pipe to sed and trim leading spaces with relative ease:

sed 's/^ *//' <<EOF

Which I'd prefer anyways because it's less cryptic. I try to stay away from the obscure, rarely used notations because I'll always have to look it up in StackOverflow anytime I come back to it. These can be confusingly sharp edges.