add -h for symbolic links
[unix-history] / usr / src / bin / test / operators.c
index 1b2e631..ce23151 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)operators.c        5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)operators.c        5.2 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -25,6 +25,7 @@ char *const unary_op[] = {
       "-e",
       "-f",
       "-g",
       "-e",
       "-f",
       "-g",
+      "-h",
       "-k",
       "-n",
       "-p",
       "-k",
       "-n",
       "-p",
@@ -72,6 +73,7 @@ const char op_priority[] = {
       12,
       12,
       12,
       12,
       12,
       12,
+      12,
       1,
       1,
       2,
       1,
       1,
       2,
@@ -95,6 +97,7 @@ const char op_argflag[] = {
       OP_FILE,
       OP_FILE,
       OP_FILE,
       OP_FILE,
       OP_FILE,
       OP_FILE,
+      OP_FILE,
       OP_STRING,
       OP_FILE,
       OP_FILE,
       OP_STRING,
       OP_FILE,
       OP_FILE,