In upstream man-pages-posix-2003-a/man1p/ed.1p, line 282 misses a comma before the first "addr". The official documentation has it right (see the table at the bottom of the section "Addresses in ed"): http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ed.html In other words... printf '%s\n' '282s/^/, /' wq | ed man-pages-posix-2003-a/man1p/ed.1p -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html