cmp.pl 1.0.x - Utility per comparare file di linguaggio
Inviato: 25/04/2003, 19:52
cmp.pl Version 1.0.2
Copyright darthmonk@tin.it , 2003
>> ENGLISH
with this tool you can simply compare language files of your "old" CVS oscommerce with newer one.
Usage
put cmp.pl in to your base language directory (i.e. ./catalog/includes/languages/)
run perl cmp.pl language_directory1 language_directory2
run perl cmp.pl file1.php file2.php
NOTE: please use relative paths when passing language directories as arguments to the program.
exemple:
perl cmp.pl english italian > a_file1.txt
perl cmp.pl english.php italian.php > a_file2.txt
a_file1.txt & a_file2.txt will be your output files.
Bugfix in ver 1.0.2
- cmp doesn't ignore defines in lines beginning with one or more whitespace chars anymore
- fixed a bug due to the presence of \' in the values-side of a define()
Downloads
> If you have Perl running on your machine download cmp.pl from here (30Kb)
> If you don't have Perl, u can get a Win32 binary of this script from here (700Kb)
>> ITALIAN
Con questo script si possono comparare dei file di linguaggio del "vecchio" CVS oscommere con versioni più recenti.
Uso
copia cmp.pl nella tua directory base dei linguaggi
(p.e. ./catalog/includes/languages/)
poi, dal prompt:
perl cmp.pl language_directory1 language_directory2
oppure
perl cmp.pl file1.php file2.php
NOTA: usare path relativi nel passaggio dei parametri allo script.
esempi:
perl cmp.pl english italian > a_file1.txt
perl cmp.pl english.php italian.php > a_file2.txt
a_file1.txt & a_file2.txt conterranno l'output ossia le eventuali differenze tra i 2 file passati a parametro o tra file omonimi corrispondenti contenuti nelle directory passate a parametro.
Bugfix in ver 1.0.2
- cmp doesn't ignore defines in lines beginning with one or more whitespace chars anymore
- fixed a bug due to the presence of \' in the values-side of a define()
Downloads
> Se hai l'interprete Perl installato sulla tua macchina scarica lo script da qui (30Kb)
> Se non hai un interprete Perl installato sulla tua macchina scarica un binario per Windows da qui (700Kb)
Copyright darthmonk@tin.it , 2003
>> ENGLISH
with this tool you can simply compare language files of your "old" CVS oscommerce with newer one.
Usage
put cmp.pl in to your base language directory (i.e. ./catalog/includes/languages/)
run perl cmp.pl language_directory1 language_directory2
run perl cmp.pl file1.php file2.php
NOTE: please use relative paths when passing language directories as arguments to the program.
exemple:
perl cmp.pl english italian > a_file1.txt
perl cmp.pl english.php italian.php > a_file2.txt
a_file1.txt & a_file2.txt will be your output files.
Bugfix in ver 1.0.2
- cmp doesn't ignore defines in lines beginning with one or more whitespace chars anymore
- fixed a bug due to the presence of \' in the values-side of a define()
Downloads
> If you have Perl running on your machine download cmp.pl from here (30Kb)
> If you don't have Perl, u can get a Win32 binary of this script from here (700Kb)
>> ITALIAN
Con questo script si possono comparare dei file di linguaggio del "vecchio" CVS oscommere con versioni più recenti.
Uso
copia cmp.pl nella tua directory base dei linguaggi
(p.e. ./catalog/includes/languages/)
poi, dal prompt:
perl cmp.pl language_directory1 language_directory2
oppure
perl cmp.pl file1.php file2.php
NOTA: usare path relativi nel passaggio dei parametri allo script.
esempi:
perl cmp.pl english italian > a_file1.txt
perl cmp.pl english.php italian.php > a_file2.txt
a_file1.txt & a_file2.txt conterranno l'output ossia le eventuali differenze tra i 2 file passati a parametro o tra file omonimi corrispondenti contenuti nelle directory passate a parametro.
Bugfix in ver 1.0.2
- cmp doesn't ignore defines in lines beginning with one or more whitespace chars anymore
- fixed a bug due to the presence of \' in the values-side of a define()
Downloads
> Se hai l'interprete Perl installato sulla tua macchina scarica lo script da qui (30Kb)
> Se non hai un interprete Perl installato sulla tua macchina scarica un binario per Windows da qui (700Kb)