Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
msla
· 10mo ago · 0 comments
Surely that would be better written as
cat PROMPT.md | cat | npx --yes @sourcegraph/amp
Comments
[–]
wild_egg
10mo ago
Aside from losing the loop (the whole point of the command), why the double `cat`?
[–]
mkl
10mo ago
I think it was an attempt at a useless use of cat joke (cat isn't needed at all here, but IMHO helps readability).
[–]
GibbonBreath
10mo ago
You've removed the loop. This pipeline executes once and then halts.