Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Chris G. Demetriou <cgd@netbsd.org>
List: source-changes
Date: 03/10/2001 03:51:50
Module Name:	basesrc
Committed By:	cgd
Date:		Sat Mar 10 01:51:49 UTC 2001

Modified Files:
	basesrc/lib/libc/gen: Makefile.inc
Added Files:
	basesrc/lib/libc/gen: shquote.3 shquote.c shquotev.c

Log Message:
Add shquote() and shquotev().  From the manual page:
     The shquote() and shquotev() functions copy strings and transform the
     copies by adding shell escape and quoting characters.  They are used to
     encapsulate arguments to be included in command strings passed to the
     system() and popen() functions, so that the arguments will have the cor-
     rect values after being evaluated by the shell.


To generate a diff of this commit:
cvs rdiff -r1.106 -r1.107 basesrc/lib/libc/gen/Makefile.inc
cvs rdiff -r0 -r1.1 basesrc/lib/libc/gen/shquote.3 \
    basesrc/lib/libc/gen/shquote.c basesrc/lib/libc/gen/shquotev.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.