Split text.txt like this
http://www.qidian.com/book/1510857.aspx
http://www.qidian.com/book/1518407.aspx
http://www.zhulang.com/130808/index.html
http://www.17k.com/book/65798.html
http://book.zongheng.com/book/39679.html
and make it become text like this
1.txt
http://www.qidian.com/book/1510857.aspx
2.txt
http://www.qidian.com/book/1518407.aspx
……
------------------------------------------------------------------
Or split it into text like this
1.txt
URL=http://www.qidian.com/book/1510857.aspx
2.txt
URL=http://www.qidian.com/book/1518407.aspx
……
What I want is to convert the list of links in the text into individual *.URl files, so it's convenient to import into the browser
Asking the experts here, I can use for to extract each line, but I don't know how to output it to text
http://www.qidian.com/book/1510857.aspx
http://www.qidian.com/book/1518407.aspx
http://www.zhulang.com/130808/index.html
http://www.17k.com/book/65798.html
http://book.zongheng.com/book/39679.html
and make it become text like this
1.txt
http://www.qidian.com/book/1510857.aspx
2.txt
http://www.qidian.com/book/1518407.aspx
……
------------------------------------------------------------------
Or split it into text like this
1.txt
URL=http://www.qidian.com/book/1510857.aspx
2.txt
URL=http://www.qidian.com/book/1518407.aspx
……
What I want is to convert the list of links in the text into individual *.URl files, so it's convenient to import into the browser
Asking the experts here, I can use for to extract each line, but I don't know how to output it to text



do (