Commit Graph

15 Commits

Author SHA1 Message Date
Sylvain Pion 847c23a15e Removing leading and trailing empty lines from all example files.
Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl

local($/) = undef;
my $text = <>;

$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;

print "$text";
-----------------------------------------------------
2007-03-10 16:17:17 +00:00
Sylvain Pion 6fb5cb906b Remove trailing white spaces and end of lines.
(using : perl -pi.bak -e 's/\s+$/\n/' */examples/*/*.cpp )
2007-03-10 14:59:41 +00:00
Sylvain Pion b8b87ab5a5 Actually, the "// file: example_bla.cpp" lines are not needed anymore,
since the manual tools know it.  So let's just remove them (many were
not uptodate with the filemane anyway).
2007-03-10 14:48:00 +00:00
Sylvain Pion 23edc11d3b Fix all first lines of examples "// file : example_file.C" to .cpp suffix.
Using :

for i in * ; do  cd $i ; for f in examples/*/*.cpp ; do ( head -1 $f | grep file | grep -v '\.cpp' ) && echo $f && perl -pi.bak -e 's/\.C$/.cpp/' $f ; done ; cd .. ; done
2007-03-10 14:34:05 +00:00
Michael Hoffmann 04389bc7cb Superfluous. 2007-02-27 07:49:41 +00:00
Andreas Fabri 91a8471154 Removed prefix example_ from the examples files 2007-02-26 18:54:23 +00:00
Andreas Fabri b1971830b1 Removed suffix _example from the examples files 2007-02-26 18:31:46 +00:00
Sylvain Pion e9f3852691 Remove cgal_test/makefile : the automaticaly generated ones are better
(some programs where not tested because of those buggy script/makefile).
2007-01-27 17:38:06 +00:00
Andreas Fabri bf146e9786 Replaced Polygon with Polygon_2 2006-08-28 14:28:12 +00:00
Andreas Meyer 16acdac7e7 some more cleanup to make the manual test suite green again 2006-08-07 17:03:31 +00:00
Andreas Meyer b454b3febd manual cleanup:
* .C ---> .cpp
* removed ../examples from paths
* moved some demo/example files out of doc_tex into their respective place
* now it should build properly, again
2006-08-07 16:43:09 +00:00
Andreas Fabri f8f182c463 changed .C to .cpp in examples 2006-07-09 19:24:27 +00:00
Joachim Reichel f582718758 rename create_makefile to cgal_create_makefile to avoid name clashes,
adjust all occurences of create_makefile and create\_makefile in the entire
repository (well, trunk only)
2006-03-15 22:10:02 +00:00
Joachim Reichel 11a449ae00 Added/fixed CGAL_MAKEFILE= line in makefiles 2006-03-14 19:35:55 +00:00
Laurent Saboret d8a9ada886 Move packages to trunk root 2006-02-14 08:58:16 +00:00