Ignore:
Timestamp:
Jun 25, 2006, 4:41:57 AM (18 years ago)
Author:
andree
Message:

Replaced all occurrences of egrep with 'grep -E' and of fgrep with
'grep -F' in mondo.
egrep and fgrep are usually just script wrappers around grep these
days which means additional overhead compared to calling grep with the
relevant option. Also, it appears that egrep and fgrep have been
deprecated by POSIX some time ago.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/libmondo-filelist.c

    r676 r681  
    15461546    {
    15471547        sprintf(find_skeleton_marker,
    1548                 "fgrep -v \"%s\" %s > %s.new 2> /dev/null", dir,
     1548                "grep -Fv \"%s\" %s > %s.new 2> /dev/null", dir,
    15491549                g_skeleton_filelist, g_skeleton_filelist);
    15501550//    log_msg(0, "fsm = %s", find_skeleton_marker);
Note: See TracChangeset for help on using the changeset viewer.