Salut a tous,
j'ai fait des modifications sur
un programme nomme cacti, et je souhaite donc
produire le patch correspondant aux modifications
effectuees.
d'apres ce que je croyais savoir,
ca se fait avec diff -ru, mais apres plusieurs
tentatives, je n'arrive qu'a afficher cela:
db1:~/cacti/0.8.3# diff -ru cacti-0.8.3/ cacti-0.8.3.patched/ | head -4
Only in cacti-0.8.3.patched/: LICENSE
Only in cacti-0.8.3.patched/: README
Only in cacti-0.8.3.patched/: about.php
Only in cacti-0.8.3.patched/: about.php.orig
Ce n'est pas ce que je recherche,
je voudrais plutot un fichier au format comme
celui-ci:
--- cacti-0.8.3.orig/scripts/get_stat_for_interface.pl
+++ cacti-0.8.3/scripts/get_stat_for_interface.pl
@@ -0,0 +1,18 @@
+#!/usr/bin/perl -w
Savez-vous comment faire ?
(j'ai essaye toute une combinaison d'options,
les -r, -a, -C 4, -e, -f, sans succes)
Olivier
Linux-Azur : http://www.linux-azur.org
Désinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****