summary refs log tree commit diff stats
path: root/trunk/backlink.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/backlink.sh')
-rw-r--r--trunk/backlink.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/trunk/backlink.sh b/trunk/backlink.sh index c9740d9..f6feb7d 100644 --- a/trunk/backlink.sh +++ b/trunk/backlink.sh
@@ -4,13 +4,9 @@
4searchQuery="$1"; # .html file to backlink 4searchQuery="$1"; # .html file to backlink
5outFile="$2"; # .back file to create 5outFile="$2"; # .back file to create
6headerFile="$3"; # header information file 6headerFile="$3"; # header information file
7islandHead="$4"; 7shift 3;
8shift 4;
9glob="$@"; # where to search for backlinks 8glob="$@"; # where to search for backlinks
10 9
11islandLink="island"
12[[ ! -f ${islandLink}.txt ]] && cat "$islandHead" > ${islandLink}.txt;
13
14# Find backlinkers 10# Find backlinkers
15echo -n "Back-linking \"$searchQuery\"" 11echo -n "Back-linking \"$searchQuery\""
16cat "$headerFile" > "$outFile"; 12cat "$headerFile" > "$outFile";