* SUCH DAMAGE.
*/
+ /* 1999-02-22 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
+ * - added Native Language Support
+ */
+
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include "hexdump.h"
+#include "nls.h"
off_t skip; /* bytes to skip */
case 'n':
if ((length = atoi(optarg)) < 0) {
(void)fprintf(stderr,
- "hexdump: bad length value.\n");
+ _("hexdump: bad length value.\n"));
exit(1);
}
break;
case 's':
if ((skip = strtol(optarg, &p, 0)) < 0) {
(void)fprintf(stderr,
- "hexdump: bad skip value.\n");
+ _("hexdump: bad skip value.\n"));
exit(1);
}
switch(*p) {
void usage()
{
(void)fprintf(stderr,
-"hexdump: [-bcdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]\n");
+_("hexdump: [-bcdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]\n"));
exit(1);
}