source: XMLIO_V2/dev/common/tools/preprocess_f03 @ 224

Last change on this file since 224 was 224, checked in by hozdoba, 10 years ago

Préparation nouvelle arborescence

  • Property svn:executable set to *
File size: 254 bytes
Line 
1#!/bin/bash
2if [[ $# != 2 ]] ; then
3   echo "Usage : ./prepocess_f03.sh <output> <input>"
4   exit
5fi
6
7if test -f $2; then
8   cpp -P -o $1.temp  $2;
9   sed 's/;/\r\n/g' <$1.temp >$1
10   rm -f $1.temp
11else
12   echo "le fichier d'entrée n'existe pas !"
13fi
14
15
Note: See TracBrowser for help on using the repository browser.