grep alternative command syntax

PANDEY Manish 21 Reputation points
2021-12-14T09:14:57.033+00:00

Hi Team,

currently impleneting C api both for windows and linux.
In Linux using grep and found the best alternate in windows is findstr .But while converting below patterns facing issues.Need some pointers

Below is the list of commands

grep "id-test-abc-revocationValues -A 1"
grep -e ":d=3 .*: cont [ 1 ]"
grep "d=5 .*OCTET STRING"
grep ":d=1"

All it's converted findstr are giving extra output.

Need some pointers for the same.

Windows for business Windows Client for IT Pros User experience Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.