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: Sun Feb 12 8:16:39 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 Strsep en anglais

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


strsep - extract token from string
 
SYNOPSIS


#include char *strsep(char **stringp, const char *delim); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): strsep(): _BSD_SOURCE
 
DESCRIPTION


If *stringp is NULL, the strsep() function returns NULL and does noth- ing else. Otherwise, this function finds the first token in the string *stringp, where tokens are delimited by symbols in the string delim. This token is terminated with a '\0' character (by overwriting the delimiter) and *stringp is updated to point past the token. In case no delimiter was found, the token is taken to be the entire string *stringp, and *stringp is made NULL.
 
RETURN VALUE


The strsep() function returns a pointer to the token, that is, it returns the original value of *stringp.
 
CONFORMING TO


4.4BSD.
 
NOTES


The strsep() function was introduced as a replacement for strtok(3), since the latter cannot handle empty fields. However, strtok(3) con- forms to C89/C99 and hence is more portable.
 
BUGS


This function suffers from the same problems as strtok(3). In particu- lar, it modifies the original string. Avoid it.
 
SEE ALSO


index(3), memchr(3), rindex(3), strchr(3), strpbrk(3), strspn(3), strstr(3), strtok(3)
 
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 2007-07-26 STRSEP(3)


 Dernières recherches
Man  en anglais Man strsep en anglaisMan  en français Man strsep en français
Man  en anglais Man groups en anglaisMan  en français Man groups en français
Man  en anglais Man system en anglaisMan  en français Man system en français
Man  en anglais Man wcscmp en anglaisMan  en français Man wcscmp en français
Man  en anglais Man killpg en anglaisMan  en français Man killpg en français
Man  en anglais Man getcwd en anglaisMan  en français Man getcwd en français
Man  en anglais Man setenv en anglaisMan  en français Man setenv en français
Man  en anglais Man sigvec en anglaisMan  en français Man sigvec en français
Man  en anglais Man capget en anglaisMan  en français Man capget en français
Man  en anglais Man rindex en anglaisMan  en français Man rindex en français
Man  en anglais Man strcmp en anglaisMan  en français Man strcmp en français
Man  en anglais Man strchr en anglaisMan  en français Man strchr en français
Man  en anglais Man fgetwc en anglaisMan  en français Man fgetwc en français
Man  en anglais Man statfs en anglaisMan  en français Man statfs en français
Man  en anglais Man zforce en anglaisMan  en français Man zforce 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