It must be the rotgut from l'Assommoir that was hacking away inside him.
A sparrow in the garden was hacking the air with its monotonous chirp.
"That's it—keep at it," a dry, hacking voice kept going in Peer's head.
"I'd rather not if I could avoid It," replied a thin fellow, with a hacking cough.
No amount of hacking work can take away the eloquence of this phrasing.