strmtrim(3pub) debian man page | unix.com

Man Page: strmtrim

Operating Environment: debian

Section: 3pub

STRMTRIM(3pub)						       C Programmer's Manual						    STRMTRIM(3pub)

NAME
strmtrim - replace multiple white spaces with single blanks within string
SYNOPSIS
#include <publib.h> char *strmtrim(char *str);
DESCRIPTION
strmtrim will replace every run of whitespace characters (as defined by isspace(3)) with a single blank. It will not touch leading and trailing whitespace (use strltrim(3) and strrtrim(3) for those).
RETURN VALUE
strmtrim will return the value of its argument.
SEE ALSO
publib(3), strtrim(3), strltrim(3), strrtrim(3)
AUTHOR
Lars Wirzenius (lars.wirzenius@helsinki.fi) Publib C Programmer's Manual STRMTRIM(3pub)
Related Man Pages
fnqualify(3pub) - debian
memdup(3pub) - debian
strcstr(3pub) - debian
strvars(3pub) - debian
xmalloc(3pub) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
Detecting unused variables...
One instance of comparing grep and awk
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections