add pkg-config files for readline, editline, ncurses

2019-07-25 Thread Stephen Gregoratto
re="s/^#define[[:blank:]]+RL_VERSION_MAJOR[[:blank:]]+([0-9]+).*/\1/p" +version_minor_re="s/^#define[[:blank:]]+RL_VERSION_MINOR[[:blank:]]+([0-9]+).*/\1/p" +version_file=${curdir}/readline.h +lib_version=$(sed -nE ${version_major_re} ${version_file}).$(sed -nE ${version_minor_re} ${version_file}) + +pc_file="${objdir}/readline.pc" +cat > ${pc_file} << __EOF__ +prefix=/usr +exec_prefix=\${prefix} +libdir=\${exec_prefix}/lib +includedir=\${prefix}/include + +Name: Readline +Description: GNU readline library +Version: ${lib_version} +Libs: -L\${libdir} -lreadline +Cflags: -I\${includedir} +__EOF__ -- Stephen Gregoratto

printf.1: fix incorrect conversion of apostrophe

2019-06-01 Thread Stephen Gregoratto
,7 +95,7 @@ Write a character. Write a character. .It Cm \ev Write a character. -.It Cm \e\' +.It Cm \e\(aq Write a character. .It Cm \e\e Write a backslash character. -- Stephen Gregoratto PGP: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B

Don't use '.Sx' to refer to external sections

2019-05-13 Thread Stephen Gregoratto
started, virtual network interfaces which are assigned to a -- Stephen Gregoratto PGP: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B

glob(3): size_t or int?

2019-01-30 Thread Stephen Gregoratto
web.cgi/src/include/glob.h?rev=1.21&content-type=text/x-cvsweb-markup&only_with_tag=MAIN [4] https://www.unix.com/man-page/mojave/3/glob/ [5] http://osr507doc.xinuos.com/en/man/html.S/glob.S.html [6] https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/glob.h;hb=ee74a442e8b9403f02f7e933260625acf145ad08 -- Stephen Gregoratto