Skip to content

Commit

Permalink
pmlogger_daily: avoid obnoxious egrep warnings, fix QA on f38
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Aug 21, 2023
1 parent bab327b commit 366d26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmlogger/pmlogger_daily.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1715,7 +1715,7 @@ END { if (inlist != "") print lastdate,inlist }' >$tmp/list
#
now_hr=`pmdate %H`
hr=`expr 12 + $now_hr`
egrep "(^|.*/)[0-9]*`pmdate -${hr}H %y%m%d` " $tmp/list >$tmp/tmp
grep -E "(^|.*/)[0-9]*`pmdate -${hr}H %y%m%d` " $tmp/list >$tmp/tmp
mv $tmp/tmp $tmp/list
fi

Expand Down

0 comments on commit 366d26a

Please sign in to comment.