Changeset 2058 in MondoRescue


Ignore:
Timestamp:
Oct 27, 2008, 2:17:39 PM (12 years ago)
Author:
Bruno Cornec
Message:

small optimisation sort | uniq => sort -u

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mindi/mindi

    r2057 r2058  
    17691769touch $mpincfile
    17701770if [ -a $MODPROBE_CONF ]; then
    1771     includes=$(awk '/^[ \t]*include[ \t]+/ {if(NF>=2){print $2}}' $MODPROBE_CONF|sort|uniq)
     1771    includes=$(awk '/^[ \t]*include[ \t]+/ {if(NF>=2){print $2}}' $MODPROBE_CONF|sort -u)
    17721772    if [ -n "$includes" ]; then
    17731773        for include in $includes
Note: See TracChangeset for help on using the changeset viewer.