From 4cc0a99a1aa90ef72ce02f82809d0435a6a39b18 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sun, 5 Dec 2010 23:24:40 +0000 Subject: Include trailer in grepable output from pdfshow. --- apps/pdfshow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/pdfshow.c b/apps/pdfshow.c index 22891e05..570bf1c2 100644 --- a/apps/pdfshow.c +++ b/apps/pdfshow.c @@ -183,6 +183,9 @@ static void showgrep(char *filename) fz_dropobj(obj); } } + + printf("%s:trailer: ", filename); + fz_fprintobj(stdout, xref->trailer, 1); } int main(int argc, char **argv) -- cgit v1.2.3