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>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/locale.1.man.txt
          +++ new/usr/src/man/man1/locale.1.man.txt
↓ open down ↓ 111 lines elided ↑ open up ↑
 112  112           LC_NUMERIC
 113  113           decimal_point="."
 114  114  
 115  115  
 116  116  
 117  117  
 118  118         The following command shows an application of locale to determine
 119  119         whether a user-supplied response is affirmative:
 120  120  
 121  121  
 122      -         if printf "%s\n" "$response" | /usr/xpg4/bin/grep -Eq\
      122 +         if printf "%s\n" "$response" | /usr/bin/grep -Eq\
 123  123                   "$(locale yesexpr)"
 124  124           then
 125  125               affirmative processing goes here
 126  126           else
 127  127               non-affirmative processing goes here
 128  128           fi
 129  129  
 130  130  
 131  131  
 132  132  ENVIRONMENT VARIABLES
↓ open down ↓ 37 lines elided ↑ open up ↑
 170  170  NOTES
 171  171         If LC_CTYPE or keywords in the category LC_CTYPE are specified, only
 172  172         the values in the range 0x00-0x7f are written out.
 173  173  
 174  174  
 175  175         If LC_COLLATE or keywords in the category LC_COLLATE are specified, no
 176  176         actual values are written out.
 177  177  
 178  178  
 179  179  
 180      -                               December 20, 1996                     LOCALE(1)
      180 +                               November 28, 2017                     LOCALE(1)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX