Deutsch English Français Italiano |
<vru6c4$38t8r$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Pancho <Pancho.Jones@protonmail.com> Newsgroups: comp.os.linux.misc Subject: Re: Useless Use Of Regexes Date: Tue, 25 Mar 2025 12:08:36 +0000 Organization: A noiseless patient Spider Lines: 21 Message-ID: <vru6c4$38t8r$1@dont-email.me> References: <vrsfkv$1md7d$1@dont-email.me> <vrsjva$1oouq$1@dont-email.me> <vrso4m$1toah$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 25 Mar 2025 13:08:42 +0100 (CET) Injection-Info: dont-email.me; posting-host="39e188dc207a46bf16b11d5236730121"; logging-data="3437851"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/un8sH9iKyo2FAa4Xyk8XMR0lbKX0W91M=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:KG7pdeYiOsX76gEHhG/27q+h/GI= Content-Language: en-GB In-Reply-To: <vrso4m$1toah$3@dont-email.me> Bytes: 1829 On 3/24/25 22:59, Lawrence D'Oliveiro wrote: > On Mon, 24 Mar 2025 21:48:26 +0000, Pancho wrote: > >> On 3/24/25 20:34, Lawrence D'Oliveiro wrote: >> >>> which can be more easily written using features built into iproute2 >>> itself: >>> >>> ip addr show to 192.168.1.0/24 >> >> Seriously, though, it is often easier to filter output from a standard >> command with grep, than it is to learn all the command flags. > > Don’t forget the option of JSON-format output, for even easier processing > in scripts than messing around with regexes. Forget? That presumes I ever knew. Well maybe I did, nowadays, I forget what I have forgotten. Anyway, JSON output looks cool. However, it doesn't seem to be common for other commands.