Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Thu Feb 9 6:01:21 2012 from 38.107.179.227
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Fnmatch en anglais

FNMATCH(3) Linux Programmer's Manual FNMATCH(3)
 
NAME


fnmatch - match filename or pathname
 
SYNOPSIS


#include int fnmatch(const char *pattern, const char *string, int flags);
 
DESCRIPTION


The fnmatch() function checks whether the string argument matches the pattern argument, which is a shell wildcard pattern. The flags argument modifies the behavior; it is the bitwise OR of zero or more of the following flags: FNM_NOESCAPE If this flag is set, treat backslash as an ordinary character, instead of an escape character. FNM_PATHNAME If this flag is set, match a slash in string only with a slash in pattern and not by an asterisk (*) or a question mark (?) metacharacter, nor by a bracket expression ([]) containing a slash. FNM_PERIOD If this flag is set, a leading period in string has to be matched exactly by a period in pattern. A period is considered to be leading if it is the first character in string, or if both FNM_PATHNAME is set and the period immediately follows a slash. FNM_FILE_NAME This is a GNU synonym for FNM_PATHNAME. FNM_LEADING_DIR If this flag (a GNU extension) is set, the pattern is considered to be matched if it matches an initial segment of string which is followed by a slash. This flag is mainly for the internal use of glibc and is only implemented in certain cases. FNM_CASEFOLD If this flag (a GNU extension) is set, the pattern is matched case-insensitively.
 
RETURN VALUE


Zero if string matches pattern, FNM_NOMATCH if there is no match or another non-zero value if there is an error.
 
CONFORMING TO


POSIX.2. The FNM_FILE_NAME, FNM_LEADING_DIR, and FNM_CASEFOLD flags are GNU extensions.
 
SEE ALSO


sh(1), glob(3), scandir(3), wordexp(3), glob(7)
 
COLOPHON


This page is part of release 3.05 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU 2000-10-15 FNMATCH(3)


 Dernières recherches
Man  en anglais Man fnmatch en anglaisMan  en français Man fnmatch en français
Man  en anglais Man netstat en anglaisMan  en français Man netstat en français
Man  en anglais Man swapoff en anglaisMan  en français Man swapoff en français
Man  en anglais Man chattr en anglaisMan  en français Man chattr en français
Man  en anglais Man sprintf en anglaisMan  en français Man sprintf en français
Man  en anglais Man forkpty en anglaisMan  en français Man forkpty en français
Man  en anglais Man grantpt en anglaisMan  en français Man grantpt en français
Man  en anglais Man connect en anglaisMan  en français Man connect en français
Man  en anglais Man confstr en anglaisMan  en français Man confstr en français
Man  en anglais Man inotify_add_watch en anglaisMan  en français Man inotify_add_watch en français
Man  en anglais Man getppid en anglaisMan  en français Man getppid en français
Man  en anglais Man asctime en anglaisMan  en français Man asctime en français
Man  en anglais Man rt_sigpending en anglaisMan  en français Man rt_sigpending en français
Man  en anglais Man slabtop en anglaisMan  en français Man slabtop en français
Man  en anglais Man waitpid en anglaisMan  en français Man waitpid en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher