Module Name: src Committed By: cheusov Date: Sat Mar 20 22:10:17 UTC 2021
Modified Files: src/usr.bin/seq: seq.c Log Message: seq.c: replace non-standard `\e` with standard compliant `\x1B` To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/seq/seq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/seq/seq.c diff -u src/usr.bin/seq/seq.c:1.11 src/usr.bin/seq/seq.c:1.12 --- src/usr.bin/seq/seq.c:1.11 Mon Dec 17 20:10:51 2018 +++ src/usr.bin/seq/seq.c Sat Mar 20 22:10:17 2021 @@ -31,7 +31,7 @@ #ifndef lint __COPYRIGHT("@(#) Copyright (c) 2005\ The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: seq.c,v 1.11 2018/12/17 20:10:51 christos Exp $"); +__RCSID("$NetBSD: seq.c,v 1.12 2021/03/20 22:10:17 cheusov Exp $"); #endif /* not lint */ #include <ctype.h> @@ -308,7 +308,7 @@ unescape(char *orig) *orig = '\b'; continue; case 'e': /* escape */ - *orig = '\e'; + *orig = '\x1B'; continue; case 'f': /* formfeed */ *orig = '\f';