M
Maciej Pindela
Hi
Lately someone gave me a task, to grep from csv file but a block of
code.
How to do it ?
for example
<tag>
2
3
4
5
</tag>
How to use grep to give me all form file wich start with <tag> and end
with </tag>
I've tried that way..
puts File.readlines(ARGV[0]).grep(/<tag> * <\/tag>/)
Please help
Lately someone gave me a task, to grep from csv file but a block of
code.
How to do it ?
for example
<tag>
2
3
4
5
</tag>
How to use grep to give me all form file wich start with <tag> and end
with </tag>
I've tried that way..
puts File.readlines(ARGV[0]).grep(/<tag> * <\/tag>/)
Please help