Index: funcs/func_cut.c =================================================================== --- funcs/func_cut.c (revision 201569) +++ funcs/func_cut.c (working copy) @@ -211,7 +211,7 @@ /* Get to start, if any */ if (num1 > 0) { while (tmp2 != NULL && curfieldnum < num1) { - tmp2 = strchr(tmp2 + 1, ds[0]); + strsep(&tmp2, ds); curfieldnum++; } }