Commit 05c1066d authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: don't add latest slash, slit file to lines by tags

parent ac659635
......@@ -332,7 +332,8 @@ is_url()
get_urls()
{
scat $URL/ | \
# cat html, divide to lines by tags and cut off hrefs only
scat $URL | sed -e 's|<|<\n|g' | \
grep -i -o -E 'href="(.+)"' | cut -d'"' -f2
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment