Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.lang.regexp > #158 > unrolled thread

Re: [Ubuntu] snap

Started bytth <tth@none.invalid>
First post2022-05-19 19:58 +0200
Last post2022-05-20 17:00 +0200
Articles 3 — 3 participants

Back to article view | Back to fr.comp.lang.regexp

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Ubuntu] snap tth <tth@none.invalid> - 2022-05-19 19:58 +0200
    Re: [Ubuntu] snap Olivier Miakinen <om+news@miakinen.net> - 2022-05-19 23:31 +0200
      Re: [Ubuntu] snap Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2022-05-20 17:00 +0200

#158 — Re: [Ubuntu] snap

Fromtth <tth@none.invalid>
Date2022-05-19 19:58 +0200
SubjectRe: [Ubuntu] snap
Message-ID<t660ft$2nnq$1@news.gegeweb.eu>
On 5/19/22 16:03, Jo Engo wrote:
> echo -n "sphinx of black quartz, judge my vow."|sed -e "s/ //g; s/,// ; s/
> \.//"|

    Pfiou, c'est diablement technique, ça...

tTh

-- 
+-------------------------------------------------------------------+
|                      sphinx of black quartz, judge my vow.        |
+-------------------------------------------------------------------+

[toc] | [next] | [standalone]


#159

FromOlivier Miakinen <om+news@miakinen.net>
Date2022-05-19 23:31 +0200
Message-ID<t66d06$170j$1@cabale.usenet-fr.net>
In reply to#158
Le 19/05/2022 19:58, tth a écrit :
> On 5/19/22 16:03, Jo Engo wrote:
>> echo -n "sphinx of black quartz, judge my vow."|sed -e "s/ //g; s/,// ; s/
>> \.//"|
> 
>     Pfiou, c'est diablement technique, ça...

La question de Jo Engo était :
>> peut-on faire plus simple comme commande ?
(sous-entendu : pour compter le nombre de lettres, et voir de combien ça
dépasse 26 qui est le nombre de lettres latines non accentuées)

Voici déjà une simplification possible :
echo -n "sphinx of black quartz, judge my vow."|sed -e "s/[^a-z]//gi"|wc -c

-- 
Olivier Miakinen

[toc] | [prev] | [next] | [standalone]


#160

FromBenoit Izac <use.reply.to@INVALID.ADDRESS>
Date2022-05-20 17:00 +0200
Message-ID<87o7zsqmel.fsf@izac.org>
In reply to#159
Bonjour,

Le 19/05/2022 à 23:31, Olivier Miakinen a écrit dans le message
<t66d06$170j$1@cabale.usenet-fr.net> :

>>> echo -n "sphinx of black quartz, judge my vow."| \
>>>     sed -e "s/ //g; s/,// ; s/\.//"|wc -l
>
> La question de Jo Engo était :
>>> peut-on faire plus simple comme commande ?
> (sous-entendu : pour compter le nombre de lettres, et voir de combien ça
> dépasse 26 qui est le nombre de lettres latines non accentuées)
>
> Voici déjà une simplification possible :
> echo -n "sphinx of black quartz, judge my vow."|sed -e "s/[^a-z]//gi"|wc -c

echo -n "sphinx of black quartz, judge my vow." | tr -cd '[:alpha:]' | wc -c

-- 
Benoit Izac

[toc] | [prev] | [standalone]


Back to top | Article view | fr.comp.lang.regexp


csiph-web