new options
authorMarc Teitelbaum <marc@ucbvax.Berkeley.EDU>
Wed, 24 Jun 1992 09:06:59 +0000 (01:06 -0800)
committerMarc Teitelbaum <marc@ucbvax.Berkeley.EDU>
Wed, 24 Jun 1992 09:06:59 +0000 (01:06 -0800)
SCCS-vsn: bin/sh/options.h 5.2

usr/src/bin/sh/options.h

index 048a33f..c174675 100644 (file)
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)options.h   5.1 (Berkeley) %G%
+ *     @(#)options.h   5.2 (Berkeley) %G%
  */
 
 struct shparam {
  */
 
 struct shparam {
@@ -30,11 +30,12 @@ struct shparam {
 #define xflag optval[7]
 #define zflag optval[8]
 #define vflag optval[9]
 #define xflag optval[7]
 #define zflag optval[8]
 #define vflag optval[9]
+#define        Eflag optval[10]
 
 
-#define NOPTS  10
+#define NOPTS  11
 
 #ifdef DEFINE_OPTIONS
 
 #ifdef DEFINE_OPTIONS
-const char optchar[NOPTS+1] = "efIijnsxzv";       /* shell flags */
+const char optchar[NOPTS+1] = "efIijnsxzvE";       /* shell flags */
 char optval[NOPTS+1];           /* values of option flags */
 #else
 extern const char optchar[NOPTS+1];
 char optval[NOPTS+1];           /* values of option flags */
 #else
 extern const char optchar[NOPTS+1];