Remove common patterns

Loïc Grenié loic.grenie at gmail.com
Sun Sep 30 14:28:10 UTC 2007


     I've tried to remove "common patterns" in the code.
  First try: s/printf("%s", /puts(/ and s/fprintf(fp, "%s",
\(.*\))/fputs(\1, fp)/
  Patch attached.

        Loïc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fputs.diff
Type: text/x-patch
Size: 3364 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070930/9c753ec3/attachment-0002.bin 


More information about the busybox mailing list