> +                             buf[i] = '\0';
> +                             printf("%8ld: %s\n", (long)offset - i - 1, buf);


I can see you are also printing the offset of the string in the file. It
seems a bit strange to me, when by default strings output format is only the
string detected [1], and it is the way that I usually use it.



[1] http://pubs.opengroup.org/onlinepubs/009604499/utilities/strings.html

-- 
Roberto E. Vargas Caballero
----------------------------
k...@shike2.com
http://www.shike2.com

Reply via email to