I put the -h in hget and updated sources. However, I wasn't sure about the placement of: 583,584d577 < if(headerprint) < fprint(1, "%s\n", buf); It didn't quite make sense in my hget.c. Please make sure that the hget.c does what you expected.