www-commits
[Top][All Lists]
Advanced

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

www/proprietary/workshop item-create


From: Jing Luo
Subject: www/proprietary/workshop item-create
Date: Wed, 3 Jan 2024 06:53:33 -0500 (EST)

CVSROOT:        /web/www
Module name:    www
Changes by:     Jing Luo <jing> 24/01/03 06:53:33

Modified files:
        proprietary/workshop: item-create 

Log message:
        replace egrep with "grep -E" to suppress the stderr message "egrep is 
deprecated"

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/proprietary/workshop/item-create?cvsroot=www&r1=1.12&r2=1.13

Patches:
Index: item-create
===================================================================
RCS file: /web/www/www/proprietary/workshop/item-create,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- item-create 26 Apr 2021 13:15:37 -0000      1.12
+++ item-create 3 Jan 2024 11:53:32 -0000       1.13
@@ -67,7 +67,7 @@
   echo 1>&2 "!!! This item still has the default Id."
   exit 1
 fi
-if echo "$id" | egrep -qv '^Id: 20[0-9]{7}(\..)?$'; then
+if echo "$id" | grep -Eqv '^Id: 20[0-9]{7}(\..)?$'; then
   echo 1>&2 "!!! This item has a malformed Id, '$id'."
   exit 1
 fi



reply via email to

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