Letrblak
09-12-2012, 16:25
помогите пожалуйста например с вот такого текста:
--00:25:04-- http://motul-nn.ru/
=> `1.txt'
Resolving motul-nn.ru... 188.120.239.199
Connecting to motul-nn.ru|188.120.239.199|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
0K .......... .......... .......... 115.84 KB/s
00:25:06 (115.84 KB/s) - `1.txt' saved [31055]
вывести только ір с 3 строки, ето содержымое находится в файле 2.txt
--00:25:04-- http://motul-nn.ru/
=> `1.txt'
Resolving motul-nn.ru... 188.120.239.199
Connecting to motul-nn.ru|188.120.239.199|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
0K .......... .......... .......... 115.84 KB/s
00:25:06 (115.84 KB/s) - `1.txt' saved [31055]
вывести только ір с 3 строки, ето содержымое находится в файле 2.txt