strtabify3pub
Convert runs of spaces and tabs to tabs
Usage
#include <publib.h> char *strtabify(char *str, size_t tabsize);
Overview
strtabify will converts spaces and tabs to tabs and spaces (using the minimal amount of spaces required, possibly none), while preserving indentation. Tab positions are set every tabsize columns.
Return value
strtabify will return its first argument.
Releases
16 releases since Debian 1.2 (Rex); the text changed 4 times.