From 529ede146afd125c76d86eb55969983af8ee21db Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 4 Apr 2015 23:58:22 -0700 Subject: Some revision & TOC inclusion --- trunk/backlink.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'trunk/backlink.sh') 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 @@ searchQuery="$1"; # .html file to backlink outFile="$2"; # .back file to create headerFile="$3"; # header information file -islandHead="$4"; -shift 4; +shift 3; glob="$@"; # where to search for backlinks -islandLink="island" -[[ ! -f ${islandLink}.txt ]] && cat "$islandHead" > ${islandLink}.txt; - # Find backlinkers echo -n "Back-linking \"$searchQuery\"" cat "$headerFile" > "$outFile"; -- cgit 1.4.1-21-gabe81