See:
https://fc-solve.shlomifish.org/docs/distro/HACKING.html#one-line-clauses
.
input_fn_2_data_fn();
}
else
+ {
/* {
* Don't write out errors here, either; trust in exit codes and sh
* fprintf(stderr, "No input file name\n");
* [outputfile]\n");
*/
exit(1);
- /* } */
+ /* } */
+ }
}
/*
{
pos = random() % fp->str_numstr;
if (++(pos) >= (off_t)(fp->str_numstr))
+ {
pos -= fp->str_numstr;
+ }
}
/*
i++)
{
if (table.str_flags & STR_ROTATED)
+ {
for (p = line; (ch = *p); ++p)
{
if (isupper(ch))
+ {
*p = 'A' + (ch - 'A' + 13) % 26;
+ }
else if (islower(ch))
+ {
*p = 'a' + (ch - 'a' + 13) % 26;
+ }
}
+ }
fputs(line, stdout);
}
fflush(stdout);
int ch;
while ((ch = getopt(argc, argv, "c:")) != EOF)
+ {
switch (ch)
{
case 'c':
"Usage:\n\tunstr [-c C] datafile[.ext] [outputfile]\n");
exit(1);
}
+ }
argv += optind;
exit(1);
}
if (*output_filename == '\0')
+ {
Outf = stdout;
+ }
else if (!(Outf = fopen(output_filename, "w+")))
{
perror(output_filename);
exit(1);
}
if (new_delimiter_char)
+ {
delimiter_char = new_delimiter_char;
+ }
else
+ {
delimiter_char = (char)tbl.str_delim;
+ }
order_unstr(&tbl);
fclose(Inf);
fclose(Dataf);