Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/sed Handle \t too (RVP)



details:   https://anonhg.NetBSD.org/src/rev/1e143ab6e871
branches:  trunk
changeset: 953582:1e143ab6e871
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 13 15:46:54 2021 +0000

description:
Handle \t too (RVP)

diffstat:

 usr.bin/sed/compile.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r eaa2c23522cb -r 1e143ab6e871 usr.bin/sed/compile.c
--- a/usr.bin/sed/compile.c     Sat Mar 13 15:29:55 2021 +0000
+++ b/usr.bin/sed/compile.c     Sat Mar 13 15:46:54 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compile.c,v 1.49 2021/03/11 22:31:19 christos Exp $    */
+/*     $NetBSD: compile.c,v 1.50 2021/03/13 15:46:54 christos Exp $    */
 
 /*-
  * Copyright (c) 1992 Diomidis Spinellis.
@@ -38,7 +38,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: compile.c,v 1.49 2021/03/11 22:31:19 christos Exp $");
+__RCSID("$NetBSD: compile.c,v 1.50 2021/03/13 15:46:54 christos Exp $");
 #ifdef __FBSDID
 __FBSDID("$FreeBSD: head/usr.bin/sed/compile.c 259132 2013-12-09 18:57:20Z eadler $");
 #endif
@@ -547,6 +547,9 @@
        case 'r':
                *sp = '\r';
                break;
+       case 't':
+               *sp = '\t';
+               break;
        case 'v':
                *sp = '\v';
                break;



Home | Main Index | Thread Index | Old Index