guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 01/02: Avoids deprecated egrep in c-api.test


From: Mike Gran
Subject: [Guile-commits] 01/02: Avoids deprecated egrep in c-api.test
Date: Sun, 2 Oct 2022 10:46:01 -0400 (EDT)

mike121 pushed a commit to branch main
in repository guile.

commit f5c064576d9d7c7f56289a9815cea83371a89335
Author: Mike Gran <spk121@yahoo.com>
AuthorDate: Sun Oct 2 07:23:52 2022 -0700

    Avoids deprecated egrep in c-api.test
    
    The standalone egrep script has been deprecated by GNU grep.
    'grep -E' is the suggested replacement.
    
    * test-suite/tests/c-api.test (egrep): replace egrep with grep -E
---
 test-suite/tests/c-api.test | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test-suite/tests/c-api.test b/test-suite/tests/c-api.test
index 5ce033f8d..06dba53c5 100644
--- a/test-suite/tests/c-api.test
+++ b/test-suite/tests/c-api.test
@@ -1,7 +1,7 @@
 ;;;; c-api.test --- complementary test suite for the c-api     -*- scheme -*-
 ;;;; MDJ 990915 <djurfeldt@nada.kth.se>
 ;;;;
-;;;;   Copyright (C) 1999, 2006, 2012, 2014 Free Software Foundation, Inc.
+;;;;   Copyright (C) 1999, 2006, 2012, 2014, 2022 Free Software Foundation, 
Inc.
 ;;;;
 ;;;; This library is free software; you can redistribute it and/or
 ;;;; modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,7 @@
 (define srcdir (cdr (assq 'srcdir %guile-build-info)))
 
 (define (egrep string filename)
-  (zero? (system (string-append "egrep '" string "' " filename
+  (zero? (system (string-append "grep -E '" string "' " filename
                                 " >" %null-device))))
 
 (define (seek-offset-test dirname)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]