#include "long-options.h"
#include "safe-read.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "cat"
+
/* Undefine, to avoid warning about redefinition on some systems. */
#undef max
#define max(h,i) ((h) > (i) ? (h) : (i))
#include <config.h>
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "cksum"
+
#ifdef CRCTAB
# include <stdio.h>
#include "long-options.h"
#include "error.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "comm"
+
/* Undefine, to avoid warning about redefinition on some systems. */
#undef min
#define min(x, y) ((x) < (y) ? (x) : (y))
#include "xstrtoul.h"
#include "xalloc.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "csplit"
+
#ifdef STDC_HEADERS
# include <stdlib.h>
#endif
#include "long-options.h"
#include "error.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "cut"
+
char *xstrdup ();
#define FATAL_ERROR(Message) \
#include "error.h"
#include "long-options.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "expand"
+
/* The number of bytes added at a time to the amount of memory
allocated for the output line. */
#define OUTPUT_BLOCK 256
#include "long-options.h"
#include "xstrtol.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "fmt"
+
/* The following parameters represent the program's idea of what is
"best". Adjust to taste, subject to the caveats given. */
#include "long-options.h"
#include "xstrtol.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "fold"
+
/* The name this program was run with. */
char *program_name;
#include "xstrtoul.h"
#include "safe-read.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "head"
+
/* FIXME: someday, make this really *be* `long long'. */
typedef long int U_LONG_LONG;
#include "error.h"
#include "memcasecmp.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "join"
+
#define join system_join
/* Undefine, to avoid warning about redefinition on some systems. */
#include "system.h"
#include "error.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "md5sum"
+
/* Most systems do not distinguish between external and internal
text representations. */
/* FIXME: This begs for an autoconf test. */
#include "long-options.h"
#include "xstrtol.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "nl"
+
#ifndef TRUE
# define TRUE 1
# define FALSE 0
#include "long-options.h"
#include "xstrtoul.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "od"
+
#if defined(__GNUC__) || defined(STDC_HEADERS)
# include <float.h>
#endif
#include "error.h"
#include "long-options.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "paste"
+
/* Indicates that no delimiter should be added in the current position. */
#define EMPTY_DELIM '\0'
#include "long-options.h"
#include "xstrtol.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "pr"
+
#ifndef TRUE
# define TRUE 1
# define FALSE 0
#include "long-options.h"
#include "regex.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "ptx"
+
/* Number of possible characters in a byte. */
#define CHAR_SET_SIZE 256
#include "xstrtod.h"
#include "xalloc.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "sort"
+
#if defined ENABLE_NLS && HAVE_LANGINFO_H
# include <langinfo.h>
#endif
#include "safe-read.h"
#include "xstrtol.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "split"
+
int full_write ();
/* The name this program was run with. */
#include "long-options.h"
#include "safe-read.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "sum"
+
/* The name this program was run with. */
char *program_name;
#include "long-options.h"
#include "safe-read.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "tac"
+
#if defined __MSDOS__ || defined _WIN32
/* Define this to non-zero on systems for which the regular mechanism
(of unlinking an open file and expecting to be able to write, seek
#include "safe-read.h"
#include "xstrtoul.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "tail"
+
#ifndef OFF_T_MIN
# define OFF_T_MIN TYPE_MINIMUM (off_t)
#endif
#include "long-options.h"
#include "safe-read.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "tr"
+
#define N_CHARS (UCHAR_MAX + 1)
/* A pointer to a function that returns an int. */
#include "error.h"
#include "readtokens.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "tsort"
+
/* Token delimiters when reading from a file. */
#define DELIM " \t\n"
#include "long-options.h"
#include "error.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "unexpand"
+
/* The number of bytes added at a time to the amount of memory
allocated for the output line. */
#define OUTPUT_BLOCK 256
#include "xstrtol.h"
#include "memcasecmp.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "uniq"
+
/* Undefine, to avoid warning about redefinition on some systems. */
#undef min
#define min(x, y) ((x) < (y) ? (x) : (y))
#include "long-options.h"
#include "safe-read.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "wc"
+
/* Size of atomic reads. */
#define BUFFER_SIZE (16 * 1024)