www-commits
[Top][All Lists]
Advanced

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

www/proprietary/workshop malgen


From: Therese Godefroy
Subject: www/proprietary/workshop malgen
Date: Tue, 10 Nov 2020 10:21:22 -0500 (EST)

CVSROOT:        /webcvs/www
Module name:    www
Changes by:     Therese Godefroy <th_g> 20/11/10 10:21:22

Modified files:
        proprietary/workshop: malgen 

Log message:
        Remove any trailing spaces from Target: lines.

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/proprietary/workshop/malgen?cvsroot=www&r1=1.8&r2=1.9

Patches:
Index: malgen
===================================================================
RCS file: /webcvs/www/www/proprietary/workshop/malgen,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- malgen      23 Oct 2020 15:01:13 -0000      1.8
+++ malgen      10 Nov 2020 15:21:21 -0000      1.9
@@ -91,6 +91,9 @@
   exit 1
 fi
 
+# Remove any trailing spaces from the Target: lines.
+sed -i '/Target:/ s,[ \t]*$,,' mal.rec
+
 # List English pages in proprietary/.
 pages=$(ls ../*.html |
         grep -Ev '\.([[:alpha:]]{2}-)?[[:alpha:]]{2}\.html$' |
@@ -130,7 +133,7 @@
 
   # Check that mal.rec only lists real targets.
   wrong_targets=$(grep "Target:[ \t]*${f//./[.]}" mal.rec | 
-    sed -e 's,[ \t]*$,,' -e 's,^.*html[ \t]*,,' | sort | uniq |
+    sed -e 's,^.*html[ \t]*,,' | sort | uniq |
     while read t; do
     if ! echo " $targets " | grep -q " $t " ; then
       echo "    * $f $t"



reply via email to

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