From fd3fa0744be6c62fb212ebc99aa0c1aedec0c8ea Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Mon, 25 Dec 2006 18:01:09 +0000 Subject: [PATCH] Now grabbing SoftwareSerial reference explicitly. --- build/fetch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/fetch.sh b/build/fetch.sh index a164035cc..09005f91e 100755 --- a/build/fetch.sh +++ b/build/fetch.sh @@ -12,10 +12,12 @@ curl http://www.arduino.cc/en/Guide/HomePage -o Guide_index.html curl http://www.arduino.cc/en/Main/FAQ -o FAQ.html curl http://arduino.cc/en/Main/Environment -o environment.html curl http://www.arduino.cc/en/Reference/HomePage$REVISION -o index.html +curl http://www.arduino.cc/en/Reference/SoftwareSerial -o SoftwareSerial.html curl http://www.arduino.cc/en/pub/skins/arduino/arduino.css -o arduino.css for i in `grep -o "http://www.arduino.cc/en/Guide/[^']*" Guide_index.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Guide/$i -o Guide_$i.html; done for i in `grep -o "http://www.arduino.cc/en/Reference/[^']*" index.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Reference/$i -o $i.html; done for i in `grep -o "http://www.arduino.cc/en/Serial/[^']*" index.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Serial/$i -o Serial_$i.html; done +for i in `grep -o "http://www.arduino.cc/en/Reference/SoftwareSerial[^']*" SoftwareSerial.html | sort -u | grep -v '?' | cut -d '/' -f 6`; do curl http://www.arduino.cc/en/Reference/$i -o $i.html; done perl -i -pe "s|http://www.arduino.cc/en/Reference/[^?\"']*\?[^'\"]*|#|g" *.html # replace links to unknown pages with links to '#' perl -i -pe "s|http://www.arduino.cc/en/Guide/([^']*)|Guide_\1.html|g" *.html # replace links to remote guide with links to local guide perl -i -pe "s|http://www.arduino.cc/en/Reference/([^']*)|\1.html|g" *.html # replace links to remote reference with links to local reference