Commit Graph

119 Commits

Author SHA1 Message Date
Sylvain Pion 05840a8f17 Cleanup of white spaces and empty lines also under examples/*/*.h. 2007-03-10 16:45:36 +00:00
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 8bfd7a00e5 Manually remove the remaining "//file:" lines. 2007-03-10 15:03:39 +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
Andreas Fabri 003f895412 changed .C to .cpp in examples 2006-07-09 19:44:07 +00:00
Laurent Saboret 312353dd51 Global fix of svn:executable property in trunk 2006-04-14 15:07:17 +00:00
Andreas Fabri 3100677969 rename example 2006-03-09 13:22:09 +00:00
Andreas Fabri 5787ca5d5c rename example 2006-03-09 13:21:35 +00:00
Andreas Fabri d08ae64e3c rename example 2006-03-09 13:20:41 +00:00
Andreas Fabri be0c1ab7ca rename example 2006-03-09 13:18:31 +00:00
Andreas Fabri 3ef9d6cd15 rename example 2006-03-09 13:16:12 +00:00
Andreas Fabri d0118996c7 rename example 2006-03-09 13:16:01 +00:00
Andreas Fabri 7416de0b9f rename example 2006-03-09 13:15:15 +00:00
Andreas Fabri f0f0a50c67 rename example 2006-03-09 13:15:03 +00:00
Marc Glisse 3d1ee0cf13 Missing std:: 2006-02-26 00:25:19 +00:00
Marc Glisse 13380ebe5e Add some missing std:: and #include <c*> 2006-02-22 15:22:27 +00:00
Laurent Saboret 091f0804c0 Move packages to trunk root 2006-02-14 08:58:19 +00:00