Ignore:
Timestamp:
Jan 3, 2006, 4:09:12 PM (18 years ago)
Author:
bcornec
Message:

Patches from Sébastien Aperghis-Tramoni <maddingue@…>

replace several occurences of "cat .. | grep .."
or with similar commands that accept filenames as arguments.
+ some sort | uniq replaced by sort -u

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.06/mondo/mondo/common/libmondo-raid.c

    r128 r273  
    8080
    8181    command = malloc(MAX_STR_LEN * 2);
    82     strcpy(command, "cat /proc/mdstat | grep \"");
     82    strcpy(command, "grep \" /proc/mdstat");
    8383    if (raidno == -1) {
    8484        strcat(command, "linear");
Note: See TracChangeset for help on using the changeset viewer.