diff options
Diffstat (limited to 'fr-fr/awk-fr.html.markdown')
| -rw-r--r-- | fr-fr/awk-fr.html.markdown | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fr-fr/awk-fr.html.markdown b/fr-fr/awk-fr.html.markdown index a5db24b2..628a1927 100644 --- a/fr-fr/awk-fr.html.markdown +++ b/fr-fr/awk-fr.html.markdown @@ -217,7 +217,7 @@ function string_functions( localvar, arr) { # Les deux renvoient le nombre de correspondances remplacées localvar = "fooooobar"; sub("fo+", "Meet me at the ", localvar); # localvar => "Meet me at the bar" - gsub("e", ".", localvar); # localvar => "m..t m. at th. bar" + gsub("e", ".", localvar); # localvar => "M..t m. at th. bar" # Rechercher une chaîne de caractères qui correspond à une expression # régulière index() fait la même chose, mais n'autorise pas les expressions @@ -391,7 +391,6 @@ END { if (nlines) print "L'age moyen pour le prénom " name " est " sum / nlines; } - ``` Pour plus d'informations : |
