#!/bin/csh
#######################################################################################################################################
# #
# G E N E R A T I O N D ' U N F I C H I E R ' $EXT ' #
# A P A R T I R D ' U N F I C H I E R ' $STR ' : #
# #
# #
# Utilisation : #
# #
# $xcg/gen$EXT$STR$Z <argument> #
# #
# #
# Author of '$xcg/gen$EXT$STR$Z' : #
# #
# Jean-Francois Colonna (LACTAMME, AAAAMMJJhhmmss). #
# #
#######################################################################################################################################
set argument=$1
set argument=`SupPost $argument $STR`
# Suppression d'un eventuel "$STR" en queue. #
set argument=$argument[$#argument]
# A cause de 'Child exited'... . #
set directory=`GetPath $argument`
# Recuperation du path d'acces. #
set directory=$directory[$#directory]
# A cause de 'Child exited'... . #
Pushd $directory
# Et positionnement dans le bon directory. #
set module=`GetLeaf $argument`
# Et recuperation du nom du fichier. #
set module=$module[$#module]
# A cause de 'Child exited'... . #
$xcg/gen$EXT$Z $module $NEXIST
# Et generation du fichier '$EXT' correspondant. #
# #
# Le '$NEXIST' a ete introduit le 20030514175247 afin de supprimer les messages 'EROR' lors #
# de l'utilisation de $xcg/gen$EXT$Z' dans 'v $xcg/GENERE$EXT$Z'... #
Popd