replace perl with sed

This commit is contained in:
Wolfram Schneider 2017-10-01 19:47:14 +00:00
parent f136b7facb
commit b26935af4f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51021

View file

@ -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