Johannes Sixt <j6t@xxxxxxxx> writes: >> + calc_patch_id nonl <nonl && >> + calc_patch_id withnl <withnl && > > ... you could in fact just redirect the here-documents into these commands. That was part of my original suggestion, and then I realized that nonl and withnl may later be reused and rewrote it before sending my review comment.