Home | History | Annotate | Download | only in pending

Lines Matching defs:set2

13     usage: tr [-cds] SET1 [SET2]
19 -s Squeeze multiple output characters of SET2 into one character
36 static void map_translation(char *set1 , char *set2)
47 TT.map[set2[k]] = TT.map[set2[k]]|0x200;
50 while (!(toys.optflags & FLAG_d) && set2 && TT.len1--) { //ignore set2 if -d present
51 TT.map[set1[i]] = ((TT.map[set1[i]] & 0xFF00) | set2[k]);
52 if (set2[k + 1]) k++;
211 static void print_map(char *set1, char *set2)
252 char *set1, *set2 = NULL;
260 if (toys.optargs[1][0] == '\0') error_exit("set2 can't be empty string");
261 set2 = expand_set(toys.optargs[1], &TT.len2);
263 map_translation(set1, set2);
265 print_map(set1, set2);
267 free(set2);