Hacker News new | ask | show | jobs
by msla 150 days ago
Surely that would be better written as

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

Aside from losing the loop (the whole point of the command), why the double `cat`?
I think it was an attempt at a useless use of cat joke (cat isn't needed at all here, but IMHO helps readability).
You've removed the loop. This pipeline executes once and then halts.