Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
msla
5mo ago
0 comments
Save
Share
Surely that would be better written as
cat PROMPT.md | cat | npx --yes @sourcegraph/amp
0 comments
3 comments · 2 top-level
top
newest
oldest
wild_egg
5mo ago
· 1 in thread
Aside from losing the loop (the whole point of the command), why the double `cat`?
mkl
5mo 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
5mo ago
You've removed the loop. This pipeline executes once and then halts.
j
/
k
navigate · click thread line to collapse