Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 46 lignes de commande disponibles
login as: root
root@213.186.33.18's password:
Last login: Sun Aug 1 8:06:29 2010 from 38.107.191.101
[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 behaviour; 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) 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 versionsort en anglaisMan  en français Man versionsort en français
Man  en anglais Man wcscasecmp en anglaisMan  en français Man wcscasecmp en français
Man  en anglais Man inet_aton en anglaisMan  en français Man inet_aton en français
Man  en anglais Man env en anglaisMan  en français Man env en français
Man  en anglais Man access en anglaisMan  en français Man access en français
Man  en anglais Man getpriority en anglaisMan  en français Man getpriority en français
Man  en anglais Man remap_file_pages en anglaisMan  en français Man remap_file_pages en français
Man  en anglais Man awk en anglaisMan  en français Man awk en français
Man  en anglais Man fcvt en anglaisMan  en français Man fcvt en français
Man  en anglais Man regex en anglaisMan  en français Man regex en français
Man  en anglais Man rewinddir en anglaisMan  en français Man rewinddir en français
Man  en anglais Man atoi en anglaisMan  en français Man atoi en français
Man  en anglais Man perror en anglaisMan  en français Man perror en français
Man  en anglais Man sqrt en anglaisMan  en français Man sqrt 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