svn commit: r51021 - head/share/tools

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: wosch
Date: Sun Oct  1 19:47:14 2017
New Revision: 51021
URL: https://svnweb.freebsd.org/changeset/doc/51021

Log:
  replace perl with sed

Modified:
  head/share/tools/webupdate

Modified: head/share/tools/webupdate
==============================================================================
--- head/share/tools/webupdate	Sun Oct  1 19:39:38 2017	(r51020)
+++ head/share/tools/webupdate	Sun Oct  1 19:47:14 2017	(r51021)
@@ -159,7 +159,7 @@ cd $BUILDDIR/head || exit 1;
 # get latest revision
 LATESTREVISION=$LOGDIR/LATESTREVISION
 make -C en_US.ISO8859-1/articles/pam/ SRCS="$(pwd)" -V LATESTREVISION | \
-  perl -npe 's,--stringparam\s+,\n,g' > $LATESTREVISION
+  sed -E 's/--stringparam[ ]+/!/g' | tr '!' '\n' > $LATESTREVISION
 
 time make ${BUILDARGS} p-all >> $LOGFILE 2>&1 ||
 	(cat $LATESTREVISION >> $LOGFILE
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.