(void)fprintf(stderr, "%s",
"fortune: can't match fortunes on this system (Sorry)\n");
exit(0);
-#else /* NO_REGEX */
+#else /* NO_REGEX */
case 'm': /* dump out the fortunes */
Match = true;
pat = optarg;
case 'i': /* case-insensitive match */
ignore_case = true;
break;
-#endif /* NO_REGEX */
+#endif /* NO_REGEX */
case 'u': /* Don't recode the fortune */
No_recode = true;
break;
int a;
while ((a = getchar()) != EOF)
{
- putchar(isupper(a) ? ('A' + (a - 'A' + 13) % 26)
- : islower(a) ? ('a' + (a - 'a' + 13) % 26) : a);
+ putchar(isupper(a) ? ('A' + (a - 'A' + 13) % 26)
+ : islower(a) ? ('a' + (a - 'a' + 13) % 26)
+ : a);
}
return 0;
}
uint32_t str_longlen; /* length of longest string */
uint32_t str_shortlen; /* length of shortest string */
#define STR_RANDOM 0x1 /* randomized pointers */
-#define STR_ORDERED 0x2 /* ordered pointers */
-#define STR_ROTATED 0x4 /* rot-13'd text */
+#define STR_ORDERED 0x2 /* ordered pointers */
+#define STR_ROTATED 0x4 /* rot-13'd text */
uint32_t str_flags; /* bit field for flags */
uint8_t stuff[4]; /* long aligned space */
#define str_delim stuff[0] /* delimiting character */