| 
            Last change
 on this file since 2044 was             1895, checked in by cmv, 24 years ago           | 
        
        
          | 
             
help cmv 7/2/2002 
 
           | 
        
        
          
            
              - 
Property                 svn:executable
 set to                 
*
               
             
           | 
        
        
          | 
            File size:
            827 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 '> $DPCSOURCE/XephemAstroLib/compare_with_xephem.csh'
 | 
|---|
| 7 |   exit -1
 | 
|---|
| 8 | endif
 | 
|---|
| 9 | 
 | 
|---|
| 10 | set dir = $DPCSOURCE/XephemAstroLib/
 | 
|---|
| 11 | set log = `pwd`/compare.log
 | 
|---|
| 12 | 
 | 
|---|
| 13 | rm -f $log; touch $log
 | 
|---|
| 14 | 
 | 
|---|
| 15 | echo ======================= NOUVEAU REPERTOIRE >>& $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.