Original post

curl -s http://example.com/news/detail/1/1 | sed -n 's/^.*<as+href=(/news/detail/1/[^>]+)>([^<]+)</a>.*$/2n1/p' | sed 's//1/.*[-]//1//' | sed 's//news/detail/1//http://example.com/news/detail/1//' | sed 's/^[ t]*//' | sed 's/[ t]*$//' | sed -n 1,50p How do I convert this to ?

submitted by /u/hevof
[link] [comments]