Advertisement
Guest User

Untitled

a guest
Oct 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. echo ${file[*]} | tr '\n' ' ' | grep -Poi "<a[[:space:]][^>]*?href[[:space:]]*=[[:space:]]*\"*[^\"]*?\.pdf[\"'> ]" \
  2.                 | grep -Poi 'href[[:space:]]*=[[:space:]]*.*\.pdf' \
  3.                 | sed "s/[Hh][Rr][Ee][Ff][[:space:]]*=[[:space:]]*[\"']*//"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement