Deutsch   English   Français   Italiano  
<67fc01b4$0$28487$426a74cc@news.free.fr>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-a.proxad.net!nnrp3-1.free.fr!not-for-mail
Newsgroups: comp.os.linux.misc
From: =?UTF-8?Q?St=C3=A9phane?= CARPENTIER <sc@fiat-linux.fr>
Subject: Re: Useless Use Of Regexes
References: <vrsfkv$1md7d$1@dont-email.me>
 <67e94f0b$0$28470$426a74cc@news.free.fr> <vscc9t$2ea6d$1@dont-email.me>
 <67e9bffd$0$16827$426a74cc@news.free.fr> <vscr0g$2t8mk$1@dont-email.me>
 <67f23e16$0$5208$426a74cc@news.free.fr> <vt1gne$nigc$2@dont-email.me>
 <67fa4d22$0$28083$426a74cc@news.free.fr> <vtfg23$24pic$2@dont-email.me>
Organization: Mulots' Killer
User-Agent: slrn/pre1.0.4-9 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Date: 13 Apr 2025 18:25:56 GMT
Lines: 37
Message-ID: <67fc01b4$0$28487$426a74cc@news.free.fr>
NNTP-Posting-Date: 13 Apr 2025 20:25:56 CEST
NNTP-Posting-Host: 78.201.248.7
X-Trace: 1744568756 news-3.free.fr 28487 78.201.248.7:55338
X-Complaints-To: abuse@proxad.net
Bytes: 2700

Le 13-04-2025, Lawrence D'Oliveiro <ldo@nz.invalid> a écrit :
> On 12 Apr 2025 11:23:14 GMT, Stéphane CARPENTIER wrote:
>
>> Yes. And then, I have to remove "cat". And only then can I write "grep".
>> Which is more difficult than just writing "| grep" at the end of the
>> line.
>
> Let’s see:
> * CTRL/A, DEL, DEL, DEL, “grep” (8 keystrokes)
> versus
> * “|grep” (5 keystrokes)
>
> That’s 60% more work. I suppose that’s a big chunk out of your working 
> day ...

Yes, because adding "|grep" comes naturally in mind when removing "cat"
makes me think about the way to do it. So, I have to stop thinking about
of what I want to think about the way to get it.

But, of course, you remove the only important point because you can't
have any reason. What does it bring me to use grep the right way? I can
accept an added work if there is some purpose. The purpose is not about
limiting my CPU ressources, the difference is invisible. The purpose
can't be to get the answer faster, because with the added work, it takes
me more time to have my answer.

So why do you want to fight the UUOC? Why should I follow your advice?
Because some pedantic moron considered it was a worthy fight to do a
long time ago and it has been followed by parrots ever since? If so, it's
not enough. If you can't come with a good reason for me to add an extra
work in my workflow, I don't have any reason to follow it. And for now,
it looks like it's only to follow pedantic morons unable to see a
purpose on what they do.

-- 
Si vous avez du temps à perdre :
https://scarpet42.gitlab.io