Antonio Diaz Diaz scripsit: > Richard Hum wrote: >> For some reason, the -p flag for ed requires a non-empty arguement. Is >> this really necessary? > > Of course it isn't really necessary, but it is documented[1][2][3] this > way and so I have maintained it this way.
Your references merely require that -p take an argument: they do not require the argument to be non-empty. So whereas the command $ ed -p fails and should fail, the command $ ed -p '' should not fail, but it does, at least in ed 1.5. -- LEAR: Dost thou call me fool, boy? John Cowan FOOL: All thy other titles http://www.ccil.org/~cowan thou hast given away: [email protected] That thou wast born with. _______________________________________________ bug-ed mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ed
