sq_fl = TRUE;
break;
default:
- usage(tr_usage);
+ show_usage();
}
}
index++;
input_length = complement(input, input_length);
if (argv[index] != NULL) {
if (*argv[index] == '\0')
- error_msg_and_die("STRING2 cannot be empty\n");
+ error_msg_and_die("STRING2 cannot be empty");
output_length = expand(argv[index], output);
map(input, input_length, output, output_length);
}
for (i = 0; i < input_length; i++)
- invec[input[i]] = TRUE;
+ invec[(int)input[i]] = TRUE;
for (i = 0; i < output_length; i++)
- outvec[output[i]] = TRUE;
+ outvec[(int)output[i]] = TRUE;
}
convert();
return (0);