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/mondorestore/mondo-prep.c

    r558 r681  
    18191819        log_msg(0,
    18201820                "------------------- end of fdisk.log... word! ------------------");
    1821         sprintf(tmp, "tail -n6 %s | fgrep \"16: \"", FDISK_LOG);
     1821        sprintf(tmp, "tail -n6 %s | grep -F \"16: \"", FDISK_LOG);
    18221822        if (!run_program_and_log_output(tmp, 5)) {
    18231823            g_partition_table_locked_up++;
Note: See TracChangeset for help on using the changeset viewer.