Last change
on this file since 3991 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
|
Line | |
---|
1 | #!/bin/csh
|
---|
2 |
|
---|
3 | if( "$1" == "-h" ) then
|
---|
4 | echo 'Placez vous dans le repertoire ou vous avez'
|
---|
5 | echo 'mis le NOUVEAU code du libastro de Xephem.'
|
---|
6 | echo '> $SOPHYASOURCE/XephemAstroLib/compare_with_xephem.csh'
|
---|
7 | exit -1
|
---|
8 | endif
|
---|
9 |
|
---|
10 | set dir = $SOPHYASOURCE/XephemAstroLib/
|
---|
11 | set log = `pwd`/compare.log
|
---|
12 |
|
---|
13 | rm -f $log; touch $log
|
---|
14 |
|
---|
15 | echo ======================= NOUVEAU REPERTOIRE `pwd` >>& $log
|
---|
16 | ls *.h >>& $log
|
---|
17 | ls *.c >>& $log
|
---|
18 |
|
---|
19 | echo ======================= REPERTOIRE $dir >>& $log
|
---|
20 | pushd $dir
|
---|
21 | ls *.h >>& $log
|
---|
22 | ls *.c >>& $log
|
---|
23 | popd
|
---|
24 |
|
---|
25 | echo ======================= INCLUDE >>& $log
|
---|
26 | foreach f ( *.h )
|
---|
27 | echo ======================= $f >>& $log
|
---|
28 | diff $f $dir/$f >>& $log
|
---|
29 | end
|
---|
30 |
|
---|
31 | echo ======================= FICHIERS >>& $log
|
---|
32 | foreach f ( *.c )
|
---|
33 | echo ======================= $f >>& $log
|
---|
34 | diff $f $dir/$f >>& $log
|
---|
35 | end
|
---|
36 |
|
---|
37 | echo "Resultat dans le fichier $log"
|
---|
38 |
|
---|
39 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.