There is a python script that builds cocos2dx-project. When it runs it prints out all the warning and error messages. But I want to get only those lines that contain "error". Therefore, I do the following:
python ./build_native.py | grep "error"
But it still prints everything, not only "error" lines.
EDIT:
In case you need the content of the script file, you can see it here.
"hello"
and"error"
20 times. Mind giving us a sample of the output of build_native.py? – Multifoliate