Melchior FRANZ wrote:
> Here's a small shell script that can be used to check if files are "good 
> enough"
> to be checked in:
> 
>   http://members.aon.at/mfranz/citest  [1.2kb]
> 
> 
> Sample output:
> 
>   $ cd $FG_ROOT/Aircraft && citest
>   checking for spaces in filenames ...
>   ./737/Instruments/Textures/eicas background.rgb
>   ./A380/Models/eicas background2.rgb
>   ...
>   checking for upper-case extensions ...
>   ./MD11/Models/cabin/CABIN_L.RGB
>   ./MD11/Models/cabin/CABIN.RGB
>   ...
>   checking for DOS line endings ...
>   ./dc3/Sounds/read-trev.txt: ASCII English text, with very long lines, with 
> CRLF line terminators
>   ./Hunter/pilots-notes.txt: ISO-8859 English text, with CRLF line terminators
>   ...
>   checking for uncompressed textures ...
>   ./beech99/Models/beech_993.rgb  could be  6.04288% of current size (246784 
> bytes less)
>   ./beech99/Models/beech_992.rgb  could be  6.04288% of current size (246784 
> bytes less)
> 
> 
>   $ $FGFS/SimGear && citest
>   checking for 'if (foo) delete foo;' ...
>   * if(rt)
>                   delete rt;
>           ... in file ./simgear/scene/sky/bbcache.cxx
> 
> 
> Of course, some of these are a matter of taste. Of good taste. Of mine.  ;-)
> More checks to come ...
> 
> m.
> 
> 

Speaking of which, I can't figure out a unix-ish command line method for
removing alpha channels from SGI files. pnmtools doesn't even want to
read 4 channel SGI files, and I can't see any ImageMagik option to do it.

Josh

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to