Comment

Comment by metadat

Lots of good refreshers, the cat + heredoc combo is powerful but lots of cryptically subtle variations in behavior between:

<<EOF (expands variables etc)

<<'EOF' (doesn't expand variables etc)

<<-EOF (trims leading tabs)

Am I missing any more of the tricks?

parent metadat 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton