fix typi
This commit is contained in:
parent
2825e35152
commit
383d21ebf1
|
@ -84,9 +84,9 @@ function getcontent() { # 1=url 2=outputfile
|
|||
local outfile="$2"
|
||||
|
||||
if [[ -n $LYNX ]]; then
|
||||
curl -sL "$url" | ${LYNX} -stdin -dump > "${out}"
|
||||
curl -sL "$url" | ${LYNX} -stdin -dump > "${outfile}"
|
||||
else
|
||||
curl -sL "$url" | ${SED} 's/>/>\n/g;s/</\n</g;' | awk NF | egrep -v "^<.*>$" > "${out}"
|
||||
curl -sL "$url" | ${SED} 's/>/>\n/g;s/</\n</g;' | awk NF | egrep -v "^<.*>$" > "${outfile}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue