3 ms·
echo "$OUT" | claude-mem-save so, does agents are ultra aware their output is used in a bash line or did bash now have some magic quote super power? I'd bet t
by iririririr 3mo ago
echo "$OUT" | claude-mem-save
so, does agents are ultra aware their output is used in a bash line or did bash now have some magic quote super power?
I'd bet this only really work 2% of the time in real world.
- bkotrys 3mo agoAt the shell level, the agent does not need to know about Bash. The contents of "$OUT" are passed to echo as one argument, then sent to claude-mem-save over stdin. Bash does not re-evaluate them as shell code. printf '%s\n' "$OUT" would be more robust than echo. Whether claude-mem-save can use arbitrary output is a separate question.
- killix 3mo ago[flagged]
- iririririr 3mo agothere are a million ways both of those can break. but the other comment point this out is already dead and buried. lol. so much cope from vibecoders.