Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/at Add a flag `-r' synonymous to `-d' for compatibil...



details:   https://anonhg.NetBSD.org/src/rev/d4fa6be452aa
branches:  trunk
changeset: 473151:d4fa6be452aa
user:      jwise <jwise%NetBSD.org@localhost>
date:      Sat May 22 05:05:11 1999 +0000

description:
Add a flag `-r' synonymous to `-d' for compatibility with X/OPEN at.

diffstat:

 usr.bin/at/at.1 |  13 ++++++++-----
 usr.bin/at/at.c |   7 ++++---
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs (73 lines):

diff -r 339055ff104c -r d4fa6be452aa usr.bin/at/at.1
--- a/usr.bin/at/at.1   Sat May 22 04:54:40 1999 +0000
+++ b/usr.bin/at/at.1   Sat May 22 05:05:11 1999 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: at.1,v 1.10 1999/03/09 02:41:39 ross Exp $
+.\" $NetBSD: at.1,v 1.11 1999/05/22 05:05:11 jwise Exp $
 .\" $OpenBSD: at.1,v 1.6 1998/06/05 00:47:46 deraadt Exp $
 .\" $FreeBSD: at.man,v 1.6 1997/02/22 19:54:05 peter Exp $
 .Dd April 12, 1995
@@ -12,7 +12,7 @@
 .Op Fl V
 .Op Fl q Ar queue
 .Op Fl f Ar file
-.Op Fl mldbv
+.Op Fl mldrbv
 .Ar time
 .Nm at
 .Op Fl V
@@ -205,13 +205,16 @@
 rather than standard input.
 .It Fl l
 Is an alias for
-.Nm atq.
+.Nm atq .
 .It Fl d
 Is an alias for
-.Nm atrm.
+.Nm atrm .
+.It Fl r
+Is an alias for
+.Nm atrm .
 .It Fl b
 Is an alias for
-.Nm batch.
+.Nm batch .
 .It Fl v
 For
 .Nm atq ,
diff -r 339055ff104c -r d4fa6be452aa usr.bin/at/at.c
--- a/usr.bin/at/at.c   Sat May 22 04:54:40 1999 +0000
+++ b/usr.bin/at/at.c   Sat May 22 05:05:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: at.c,v 1.12 1998/07/27 07:41:31 mycroft Exp $  */
+/*     $NetBSD: at.c,v 1.13 1999/05/22 05:05:11 jwise Exp $    */
 
 /*
  *  at.c : Put file into atrun queue
@@ -75,7 +75,7 @@
 #if 0
 static char rcsid[] = "$OpenBSD: at.c,v 1.15 1998/06/03 16:20:26 deraadt Exp $";
 #else
-__RCSID("$NetBSD: at.c,v 1.12 1998/07/27 07:41:31 mycroft Exp $");
+__RCSID("$NetBSD: at.c,v 1.13 1999/05/22 05:05:11 jwise Exp $");
 #endif
 #endif
 
@@ -583,7 +583,7 @@
                ATQ, ATRM, AT, BATCH, CAT
        };                              /* what program we want to run */
        int program = AT;               /* our default program */
-       char *options = "q:f:mvldbVc";  /* default options for at */
+       char *options = "q:f:mvldbrVc"; /* default options for at */
        int disp_version = 0;
        time_t timer;
 
@@ -637,6 +637,7 @@
                        break;
 
                case 'd':
+               case 'r':
                        if (program != AT)
                                usage();
 



Home | Main Index | Thread Index | Old Index