+ /* Skip argv[0]. */
+ argc--;
+ argv++;
+
+ while (argc > 0 && *argv[0] == '-')
+ {
+ register char *temp;
+ register int index;
+
+ /*
+ * If it appears that we are handling options, then make sure
+ * that all of the options specified are actually valid.
+ * Otherwise, the string should just be echoed.
+ */
+ temp = argv[0] + 1;
+
+ for (index = 0; temp[index]; index++)
+ {
+ if (strrchr("neE", temp[index]) == 0)
+ goto just_echo;
+ }
+
+ if (!*temp)
+ goto just_echo;