Changeset 9931 in spip-zone


Ignore:
Timestamp:
Feb 27, 2007, 2:55:16 PM (13 years ago)
Author:
fil@…
Message:

separation en deux scripts pour pouvoir (peut-etre) faire de l'asynchrone (un jour)

Location:
_dev_/top10
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • _dev_/top10/scanner.sh

    r9930 r9931  
    88
    99for i in $(cut -d"      " -f2 $TMP/sites-sous-spip.txt); do
    10         echo "--- "$i" ---"
    11         rm -f $TMP/headers
    12         curl -m 30 -D $TMP/headers --location --include \
    13                 $i >$TMP/body 2>&1
    14         if [ -f $TMP/headers ]; then
    15                 grep "Location:" $TMP/headers;
    16                 grep "Composed-By:" $TMP/headers;
    17                 grep "404 Not Found" $TMP/headers;
    18                 grep -ci "spip" $TMP/body
    19                 grep -ci "spip.net" $TMP/body
    20         else
    21                 echo "! injoignable"
    22         fi
     10        bash siteinfo.sh $i
    2311done
Note: See TracChangeset for help on using the changeset viewer.