




Command:   gres - grep and substitute
Syntax:    gres [-g] pattern string [file] ...
Flags:     -g  Only change the first occurrence per line
Examples:  gres bug insect          # Replace bug with insect
           gres '^[A-Z]+$' CAPS     # Replace  capital-only  lines  with
                                      CAPS

     Gres is a poor man's sed.  It looks for the same patterns as  grep,
and replaces each one by the given string.

















































                                                                        

