3 ms·
> It simply couldn't work with without those terminators. Yeah, it will. For a related example, I use `grep` all the time to find strings in source code. Sourc
by WalterBright 4y ago
> It simply couldn't work with without those terminators.
Yeah, it will. For a related example, I use `grep` all the time to find strings in source code. Source code is not 0 terminated. It works fine.
- jstimpfle 4y agoI use "grep -w foo" (or something like "grep '\<foo\>'"), because when I look for "foo" I don't want "bazfoobar". grep -w only works because the end of words is signaled in-band (surrounding / terminating words with whitespace).