Ignore:
Timestamp:
Jan 3, 2006, 5:06:12 PM (15 years ago)
Author:
bcornec
Message:

replaced sort | uniq with sort -u

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.06/mondo/mondo/mondorestore/mondo-rstr-compare.c

    r275 r277  
    376376    if (length_of_file(logfile) > 5) {
    377377        sprintf(command,
    378                 "sed s/': \\\"'/\\|/ %s | sed s/'\\\": '/\\|/ | cut -d'|' -f2 | sort | uniq | grep -vx \"dev/.*\" >> /tmp/changed.txt",
     378                "sed s/': \\\"'/\\|/ %s | sed s/'\\\": '/\\|/ | cut -d'|' -f2 | sort -u | grep -vx \"dev/.*\" >> /tmp/changed.txt",
    379379                logfile);
    380380        system(command);
Note: See TracChangeset for help on using the changeset viewer.