zono

Баш версия

Feb 28th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  1. #!/bin/bash
  2. result=`curl -s 'https://en.wikipedia.org/wiki/TANSTAAFL' | grep -oP '\<\s*h1[^>]*>\K([^<]+)(?=<[^>]*h1[^>]*>)'`
  3. echo "$result"
Advertisement
Add Comment
Please, Sign In to add comment