-iregexmatches a pattern in the whole path, and the pattern is a POSIX basic regex:
C:\>find ./ -iregex '.*\.\(xslt\^|xml\)' -type f -print | xargs grep -i "staus"
findmatches a file path, the path is piped to
xargs, which hands it off to
grepto search for the string "staus" - which I want to replace with "status" (but not here :).
Post a Comment
Note: Only a member of this blog may post a comment.