Ignore:
Timestamp:
Jun 25, 2006, 4:41:57 AM (14 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-archive.c

    r541 r681  
    18971897                log_to_screen("%s...OK", message_to_screen);
    18981898                if (!run_program_and_log_output
    1899                     ("tail -n10 /var/log/mondo-archive.log | fgrep ':-('",
     1899                    ("tail -n10 /var/log/mondo-archive.log | grep -F ':-('",
    19001900                     1)) {
    19011901                    log_to_screen
Note: See TracChangeset for help on using the changeset viewer.