Ignore:
Timestamp:
Oct 13, 1999, 12:59:11 AM (21 years ago)
Author:
pooh
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/config.functions

    r2 r10  
    1919}
    2020
     21merge_lists ()
     22{
     23  echo $1
     24  res="$1"
     25  for arg1 in $2; do
     26    match=no
     27    for arg2 in $1; do
     28      if [ "$arg1" = "$arg2" ]; then
     29        match=yes
     30      fi
     31    done
     32    if [ "$match" = "no" ]; then res="$res $arg1"; fi
     33  done
     34  echo $res
     35}
     36
Note: See TracChangeset for help on using the changeset viewer.