Print this page
8858 /usr/bin/grep doesn't support -E option
4580 /usr/bin/grep can't handle multibyte characters
8929 8868 tests are not delivered with system/test/utiltest
8860 Example in grep(1) is incorrect
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>

@@ -22,12 +22,10 @@
 #
 #
 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # 
-#ident  "%Z%%M% %I%     %E% SMI"
-#
 # elfcmp - compare significant sections in two ELF files
 #
 # usage: elfcmp [-v] [-S] [-s section ...] <f1> <f2>
 #
 

@@ -80,11 +78,11 @@
 list_alloc_sections() {
         dump -hv "$1" | grep '\[[0-9]' | awk '$3 ~ /A/ {print $4, $5, $6, $7}'
 }
 
 signing_filter() {
-        /usr/xpg4/bin/grep -v -e \\$SHSTRTAB -e \\.SUNW_signature
+        /usr/bin/grep -v -e \\$SHSTRTAB -e \\.SUNW_signature
 }
         
 # get section lists for both files into temp files
 
 if [[ "$SECTIONLIST" = "" ]]