source: Sophya/trunk/SophyaExt/XephemAstroLib/compare_with_xephem.csh@ 3076

Last change on this file since 3076 was 2818, checked in by cmv, 20 years ago

Update de Xephem 3.7 cmv 21/08/2005

  • Property svn:executable set to *
File size: 839 bytes
RevLine 
[1680]1#!/bin/csh
2
[1894]3if( "$1" == "-h" ) then
4 echo 'Placez vous dans le repertoire ou vous avez'
5 echo 'mis le NOUVEAU code du libastro de Xephem.'
[2551]6 echo '> $SOPHYASOURCE/XephemAstroLib/compare_with_xephem.csh'
[1894]7 exit -1
8endif
9
[2551]10set dir = $SOPHYASOURCE/XephemAstroLib/
[1719]11set log = `pwd`/compare.log
[1680]12
[1719]13rm -f $log; touch $log
[1680]14
[2818]15echo ======================= NOUVEAU REPERTOIRE `pwd` >>& $log
[1719]16ls *.h >>& $log
17ls *.c >>& $log
18
19echo ======================= REPERTOIRE $dir >>& $log
20pushd $dir
21ls *.h >>& $log
22ls *.c >>& $log
23popd
24
25echo ======================= INCLUDE >>& $log
[1680]26foreach f ( *.h )
[1719]27 echo ======================= $f >>& $log
28 diff $f $dir/$f >>& $log
[1680]29end
30
[1719]31echo ======================= FICHIERS >>& $log
[1680]32foreach f ( *.c )
[1719]33 echo ======================= $f >>& $log
34 diff $f $dir/$f >>& $log
[1680]35end
36
[1895]37echo "Resultat dans le fichier $log"
38
[1680]39exit 0
Note: See TracBrowser for help on using the repository browser.