#  echo '_________________________________________________________________________________<br>' >> "$WI_PATH""html/output.html"
#  echo '<a href="http://en.wikipedia.org/wiki/'"$namewikiunder"'">'"$name"'</a><br>' >> "$WI_PATH""html/output.html"
#  echo '_________________________________________________________________________________<br>' >> "$WI_PATH""html/output.html"
#  set update = "yes"

if("$update" == "no") then
  set update = "yes"
  #echo "\n" >> "$WI_TEMP""out.librivox"
endif

if(`$AWK -v i=0 'BEGINFILE{if (ERRNO) nextfile} $0 ~ "External links" {i++} END {print i}' "$WI_TEMP"article.txt "$WI_TEMP"out.extlnk` == 0) then
  echo "==External links==" > "$WI_TEMP"out.extlnk
endif

if($lvfinal > 1) then
  echo '* {{Librivox author |id='"$idlv"'}}<!---Same person has multiple IDs at LV-->' >> "$WI_TEMP""out.librivox"
else
  echo '* {{Librivox author |id='"$idlv"'}}' >> "$WI_TEMP""out.librivox"
endif
