finding code for UI strings ...
Kevin Hunter
hunteke at earlham.edu
Sun Jun 3 05:41:45 PDT 2012
At 1:51pm -0400 Thu, 31 May 2012, Joel Madero wrote:
> As for the explanation of why my search didn't come up with it, I did
> the following search (twice now) with grep:
>
> grep -rl "Save with password"> password_code.txt
>
> I would think that the grep would find the code regardless of the
> underscore. Still a bit confused about that, didn't get a chance last
> night to look into the other src file but hopefully tonight or this
> weekend.
Looks to me like you forgot to tell grep /where/ to search:
# wait for input via stdin
$ grep -rl "Save with password" > password_code.txt
# search starting from "this" directory
$ grep -rl "Save with password" . > password_code.txt
The latter should yield results of interest to you.
Git might return results a bit faster than a blanket search of
everything (e.g. non-source files, uncompressed versions of files in
Git, etc.):
$ git grep "Save with password"
Kevin
More information about the LibreOffice
mailing list