Discussion: File operations
Afficher un message
Vieux 08/01/2008, 05h57   #1
Olita Olita
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut File operations

Hi,
could you tell me how to compare 2 files (if a block of the first file
contains the second file).
for example.
file 1:
<body>
-----
-----
-----
<script>
AAAA
</script>
<script>
xxxxx
yyyyy
</script>
</body>
file 2:
</script>
<script>
xxxxx
yyyyy
</script>

I need to verify if the content of the 2nd file is present on the first
file
I hope you can me with this
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
 
Page generated in 0,04370 seconds with 9 queries