Lines Matching refs:split
1 /* $NetBSD: split.c,v 1.1 2011/01/08 18:10:31 pgoyette Exp $ */
36 * split - divide a string into fields, like awk split()
45 split(char *string, char *fields[], int nfields, const char *sep)
197 (void) split(buf, fields, MNF, argv[2]);
219 nf = split(string, fields, NF, seps);
318 nf = split(buf, fields, RNF, tests[n].seps);
321 printf("split `%s' by `%s' gave %d fields, not %d\n",
325 printf("split() went beyond array end\n");
333 printf("split `%s' by `%s', field %d is `%s', not `%s'\n",