[FFmpeg-devel] [PATCH 2/2] tests/fate/libswresample: suggest users `grep -E`

Marcus B Spencer marcus at marcusspencer.xyz
Thu Jul 18 17:48:58 EEST 2024


Suggest users to use `grep -E` instead of egrep, because it is deprecated.

See common question #17 under
https://www.gnu.org/software/grep/manual/grep.html#Usage-1

Signed-off-by: Marcus B Spencer <marcus at marcusspencer.xyz>
---
 tests/fate/libswresample.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fate/libswresample.mak b/tests/fate/libswresample.mak
index a1e5ab91fa..0d3fd53405 100644
--- a/tests/fate/libswresample.mak
+++ b/tests/fate/libswresample.mak
@@ -25,7 +25,7 @@ endef
 
 #below list is generated by:
 #you can use this if you need to update it!
-#make -k  `make fate-list | grep swr` | egrep 'TEST|stddev' | tr '\n' '@' | sed 's#TEST *\([^@]*\)@stddev: *\([0-9.]*\)[^b@]*bytes: *\([0-9]*\) */ *\([0-9]*\)@#fate-\1: CMP_TARGET = \2 at fate-\1: SIZE_TOLERANCE = \3 - \4@@#g' | tr '@' '\n'
+#make -k  `make fate-list | grep swr` | grep -E 'TEST|stddev' | tr '\n' '@' | sed 's#TEST *\([^@]*\)@stddev: *\([0-9.]*\)[^b@]*bytes: *\([0-9]*\) */ *\([0-9]*\)@#fate-\1: CMP_TARGET = \2 at fate-\1: SIZE_TOLERANCE = \3 - \4@@#g' | tr '@' '\n'
 
 fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.67
 fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
-- 
2.45.2



More information about the ffmpeg-devel mailing list