The info documentation for .substring says: " -- Request: .substring str n1 [n2] Replace the string named STR with the substring defined by the indices N1 and N2. The first character in the string has index 0. If N2 is omitted, it is taken to be equal to the string's length. ..."
The default for N2 should probably say "length - 1". -Jim _______________________________________________ bug-groff mailing list bug-groff@gnu.org https://lists.gnu.org/mailman/listinfo/bug-groff