diff --git a/llvm/test/Regression/Archive/ranlib_GNU.ll b/llvm/test/Regression/Archive/ranlib_GNU.ll index ac63989c79b7..289303a585db 100644 --- a/llvm/test/Regression/Archive/ranlib_GNU.ll +++ b/llvm/test/Regression/Archive/ranlib_GNU.ll @@ -4,7 +4,7 @@ ;RUN: cp %p/GNU.a %t.GNU.a ;RUN: llvm-ranlib %t.GNU.a ;RUN: llvm-ar t %t.GNU.a > %t1 -;RUN: sed -e '/^;.*/d' %s >%t2 +;RUN: grep -v '^;' %s >%t2 ;RUN: diff %t2 %t1 evenlen oddlen diff --git a/llvm/test/Regression/Archive/ranlib_MacOSX.ll b/llvm/test/Regression/Archive/ranlib_MacOSX.ll index dda2f0b36e1a..50fe5cd38a11 100644 Binary files a/llvm/test/Regression/Archive/ranlib_MacOSX.ll and b/llvm/test/Regression/Archive/ranlib_MacOSX.ll differ diff --git a/llvm/test/Regression/Archive/ranlib_SVR4.ll b/llvm/test/Regression/Archive/ranlib_SVR4.ll index a7da63d0318d..e1cd79b8ddee 100644 --- a/llvm/test/Regression/Archive/ranlib_SVR4.ll +++ b/llvm/test/Regression/Archive/ranlib_SVR4.ll @@ -4,7 +4,7 @@ ;RUN: cp %p/SVR4.a %t.SVR4.a ;RUN: llvm-ranlib %t.SVR4.a ;RUN: llvm-ar t %t.SVR4.a > %t1 -;RUN: sed -e '/^;.*/d' %s >%t2 +;RUN: grep -v '^;' %s >%t2 ;RUN: diff %t2 %t1 evenlen oddlen diff --git a/llvm/test/Regression/Archive/ranlib_xpg4.ll b/llvm/test/Regression/Archive/ranlib_xpg4.ll index 9f8aca0836d1..f36c93c6c941 100644 --- a/llvm/test/Regression/Archive/ranlib_xpg4.ll +++ b/llvm/test/Regression/Archive/ranlib_xpg4.ll @@ -4,7 +4,7 @@ ;RUN: cp %p/xpg4.a %t.xpg4.a ;RUN: llvm-ranlib %t.xpg4.a ;RUN: llvm-ar t %t.xpg4.a > %t1 -;RUN: sed -e '/^;.*/d' %s >%t2 +;RUN: grep -v '^;' %s >%t2 ;RUN: diff %t2 %t1 evenlen oddlen diff --git a/llvm/test/Regression/Archive/toc_GNU.ll b/llvm/test/Regression/Archive/toc_GNU.ll index f15956352745..3aeded259aa3 100644 --- a/llvm/test/Regression/Archive/toc_GNU.ll +++ b/llvm/test/Regression/Archive/toc_GNU.ll @@ -2,7 +2,7 @@ ;This test just makes sure that llvm-ar can generate a table of contents for ;GNU style archives ;RUN: llvm-ar t %p/GNU.a > %t1 -;RUN: sed -e '/^;.*/d' %s >%t2 +;RUN: grep -v '^;' %s >%t2 ;RUN: diff %t2 %t1 evenlen oddlen diff --git a/llvm/test/Regression/Archive/toc_MacOSX.ll b/llvm/test/Regression/Archive/toc_MacOSX.ll index efc2224ef2ed..331816bddb09 100644 Binary files a/llvm/test/Regression/Archive/toc_MacOSX.ll and b/llvm/test/Regression/Archive/toc_MacOSX.ll differ diff --git a/llvm/test/Regression/Archive/toc_SVR4.ll b/llvm/test/Regression/Archive/toc_SVR4.ll index 589d34c52b70..9f8bdba207d4 100644 --- a/llvm/test/Regression/Archive/toc_SVR4.ll +++ b/llvm/test/Regression/Archive/toc_SVR4.ll @@ -2,7 +2,7 @@ ;This test just makes sure that llvm-ar can generate a table of contents for ;SVR4 style archives ;RUN: llvm-ar t %p/SVR4.a > %t1 -;RUN: sed -e '/^;.*/d' %s >%t2 +;RUN: grep -v '^;' %s >%t2 ;RUN: diff %t2 %t1 evenlen oddlen diff --git a/llvm/test/Regression/Archive/toc_xpg4.ll b/llvm/test/Regression/Archive/toc_xpg4.ll index 1415421dd38e..f2984e27d7e7 100644 --- a/llvm/test/Regression/Archive/toc_xpg4.ll +++ b/llvm/test/Regression/Archive/toc_xpg4.ll @@ -2,7 +2,7 @@ ;This test just makes sure that llvm-ar can generate a table of contents for ;xpg4 style archives ;RUN: llvm-ar t %p/xpg4.a > %t1 -;RUN: sed -e '/^;.*/d' %s >%t2 +;RUN: grep -v '^;' %s >%t2 ;RUN: diff %t2 %t1 evenlen oddlen