Join Nostr
2026-04-21 14:18:42 UTC
in reply to

navi on Nostr: for context, in bash, /bin/sh, or zsh with `-o shwordsplit`, if you did `search-files ...

for context, in bash, /bin/sh, or zsh with `-o shwordsplit`, if you did `search-files "name with spaces"`

it would become `grep -rbw . -e "name" "with" "spaces"`, or, searching `name` in the directories `with` and `spaces`

the quote makes splitting on spaces not happen, so grep gets `"name with spaces"` properly