logoalt Hacker News

mslayesterday at 7:25 PM2 repliesview on HN

Surely that would be better written as

    cat PROMPT.md | cat | npx --yes @sourcegraph/amp

Replies

wild_eggtoday at 12:38 AM

Aside from losing the loop (the whole point of the command), why the double `cat`?

show 1 reply
GibbonBreathyesterday at 10:49 PM

You've removed the loop. This pipeline executes once and then halts.