help - busybox- grep and Source command

Juergen Hennerich juergen at hennerich.eu
Mon Sep 4 11:13:33 UTC 2006


Juergen Hennerich schrieb:

> 
> grep -w word <-> grep -E '(^|[^:alnum:_])word([^:alnum:_]|$)'
> 
I totally forgot: While this is not POSIX (I think), the anchors '\>' 
'\<' are most likely also supported.

grep -w word <-> grep -E '(^|[^:alnum:_])word([^:alnum:_]|$)' <-> grep 
-E '(^|[^a-zA-Z0-9_])word([^a-zA-Z0-9_]|$) <-> grep -E '\<word\>'

Juergen




More information about the busybox mailing list