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/mondoarchive/mondo-cli.c

    r633 r681  
    920920        &&
    921921        !run_program_and_log_output
    922         ("egrep -i suse /etc/issue.net | egrep '9.0' | grep 64", TRUE)) {
     922        ("grep -Ei suse /etc/issue.net | grep -E '9.0' | grep 64", TRUE)) {
    923923        bkpinfo->make_cd_use_lilo = TRUE;
    924924        log_to_screen
Note: See TracChangeset for help on using the changeset viewer.