OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
2.4 KiB

  1. #!/usr/bin/perl
  2. #
  3. # ** Please have a look at CHANGELOG-<Maintainer> for the CHANGELOGs **
  4. #
  5. # This perl script can be used to create one big CHANGELOG from the others...
  6. #
  7. my %changes;
  8. my ($d, $m);
  9. print "\n";
  10. chdir $1 if $0 =~ m,(.*)/,;
  11. foreach $m (qw/CLIFFORD RENE ESDEN/) {
  12. open(F, "CHANGELOG-$m") || die "Can't open CHANGELOG-$m: $!";
  13. for ($d=''; <F>; $changes{$d} .= $_ if $d) {
  14. $d=$_ if s/^(\*.*)\n/$1 [$m]\n/;
  15. }
  16. close F;
  17. }
  18. print $changes{$_} foreach sort {$b cmp $a} keys %changes;
  19. ############################################################################
  20. # #
  21. # EXTERIOR: DAGOBAH -- DAY #
  22. # #
  23. # With Yoda strapped to his back, Luke climbs up one of the many thick #
  24. # vines that grow in the swamp until he reaches the Dagobah statistics #
  25. # lab. Panting heavily, he continues his exercises -- grepping, #
  26. # installing new packages, logging in as root, and writing replacements #
  27. # for two-year-old shell scripts in Python. #
  28. # #
  29. # YODA: Code! Yes. A programmer's strength flows from code #
  30. # maintainability. But beware of Perl. Terse syntax...more than one way #
  31. # to do it...default variables. The dark side of code maintainability #
  32. # are they. Easily they flow, quick to join you when code you write. If #
  33. # once you start down the dark path, forever will it dominate your #
  34. # destiny, consume you it will. #
  35. # #
  36. # LUKE: Is Perl better than Python? #
  37. # #
  38. # YODA: No... no... no. Quicker, easier, more seductive. #
  39. # #
  40. # LUKE: But how will I know why Python is better than Perl? #
  41. # #
  42. # YODA: You will know. When your code you try to read six months from now. #
  43. # #
  44. ############################################################################