c2NyaXB0IHVwZGF0ZQo=

This commit is contained in:
lovely.wcm 2009-08-14 01:34:15 +00:00
parent 1a8e9990e5
commit f0ea3efe53
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
if [ $# != 1 ]; then
echo -e "Usage:\n $./lookup.sh wordpress\n $./lookup.sh ghs\n";
echo -e "Usage:\n $./lookup.sh wordpress\n $./lookup.sh ghs.l.google\n";
exit 1;
fi
@ -10,9 +10,9 @@ do
host=$( echo "$line" |
grep -oE "[a-z0-9]([a-z0-9_\.\-]*[a-z0-9])?\.[a-z]{2,4}" |
grep -vE "dot$|htm$|php$" );
grep -vE "dotn$|html$|php$" );
[ "$host" ] && [ "$(nslookup $host | grep $1)" ] && echo $host;
[ "$host" ] && [ "$(nslookup $host | grep -i $1)" ] && echo $host;
done < "list.txt"

View File

@ -75,7 +75,7 @@ if [ "$convertedLog" != "" ]; then
# log format: author1:"message1"; author2:"message2"...
base64 -d gfwlist.txt > list.txt &&
git commit -a -m "$convertedLog" &&
git commit -a -m "$convertedLog";
# apply local modification
if [ -s temp.patch ]; then git apply temp.patch; fi &&