# let's have print preserve comments as far as possible # we preserve line-end comments but not full line comments bin/hledger -f - print <<< 2009/1/1 x ; description comment a 1 ; amount comment ; middle posting comment b ; trailing posting comment ; post-entry comment >>> 2009/01/01 x ; description comment a 1 ; amount comment b -1 >>>=0