Salut ,

La commande "basename" devrait suffir :)

On Wed, 2002-07-10 at 12:44, LEBRETON Philippe wrote:
> Est-il possible avec une expression r�guli�re d'extraire le nom d'un
> fichier du chemin compet ou relatif de ce fichier avec ou sans
> extension.
> exemple :
> bin/app/essai

basnemane bin/app/essai
> ou
> 
> /usr/local/apache/acces.conf
> 
> En fait ce que je veux r�cup�rer dans ces deux exemples c'est "essai' et
> "access.conf"
> 
> Merci
> 
> Philippe LEBRETON
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à