Antonio Diaz Diaz wrote: > In the case of GNU ed, the troff source has always included extra spaces. > They were not noticed because troff, I guess, removes them from the > formatted output. For example, the following line is from ed.1 in GNU ed > 0.2: > > .RI (1,$)g /re/command-list
The .RI is a man page macro. $ man 7 man .RI Roman alternating with italics The first part "(1,$)g" is typeset with Roman and the second part "/re/command-list" is typset with Italic. The spaces are only there to separate the parameters to the .RI macro. Additionally: Traditionally, each command can have up to six arguments, but the GNU implementation removes this limitation (you might still want to limit yourself to 6 arguments for portability's sake). Arguments are delimited by spaces. Double quotes can be used to specify an argument which contains spaces. All of the arguments will be printed next to each other without intervening spaces, so that the .BR command can be used to specify a word in bold followed by a mark of punctuation in Roman. If no arguments are given, the command is applied to the following line of text. Bob Who used to write a lot of man documentation but now prefers texinfo. _______________________________________________ bug-ed mailing list bug-ed@gnu.org https://lists.gnu.org/mailman/listinfo/bug-ed