Tagged Questions
3
votes
2answers
229 views
how to grep for c:\
I'm using cygwin's grep to find all instances of hardcoded paths on c drive.
doing:
grep -r "c:\\" .
gives grep: trailing backslash
Does anybody know how I can do this?
1
vote
3answers
865 views
Command-line tool to search docx files
Is there a command-line tool to text-search a docx file? I tried grep, but it doesn't work with docx even though it works fine with txt and xml files. I could convert the docx to txt first, but I'd ...
2
votes
3answers
276 views
find first line beginning with <keyword> following <other-keyword>
let's present my problem to explain better. I'm using cygwin, the installation is based on a setup.ini with the following format:
@ package-name
sdesc: "short description, on one line"
...