The 'quiz' program had the data set of 'ed' ( https://github.com/vattam/BSDGames/tree/master/quiz / https://github.com/vattam/BSDGames/blob/master/quiz/datfiles... )
print whole file:1,$p|g/[^|$]/p
1,$p g/^/p g/$/p