> I am interested in one that parses the source code rather than the
> executable.
> Can some development related utility find all the string literals and print
> out their line numbers?
sed -n "/'/=" source.pas
sed -n "/'/{=;p}" source.pas
sed -n "/'/{=;s/[^']*\('[^']*'\)[^']*/||| \1 /gp}" source.pas
I could go on and on...
http://www.grymoire.com/Unix/Sed.html
Have fun. Sed is like the antithesis of elegance.
~David.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus