Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: autoload variables
- X-seq: zsh-users 27048
- From: Marc Chantreux <eiro@xxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Cc: Anthony Fletcher <anthony@xxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: autoload variables
- Date: Wed, 1 Sep 2021 12:06:44 +0200
- Archived-at: <https://zsh.org/users/27048>
- Dkim-filter: OpenDKIM Filter v2.10.3 aurora-borealis.phear.org 6B2BB103B4
- In-reply-to: <CAN=4vMpQRnfTcRZHcz1+=PQ8VMOfTBvoKPSNC8-9cRwqDeYM6Q@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAPT4cGdBZQDQv8ozkpgYwzm60yqmpJwCKCSPUnLaAj-Rp+F6kg@mail.gmail.com> <YS6TI9eVkktkyvfJ@prometheus.u-strasbg.fr> <CAN=4vMr9DiCejUiWeLfB6M29Jj4qb+kuKAuYR-n-X-riMqAVcQ@mail.gmail.com> <YS85/tOk0c9niPe4@prometheus.u-strasbg.fr> <CAN=4vMpQRnfTcRZHcz1+=PQ8VMOfTBvoKPSNC8-9cRwqDeYM6Q@mail.gmail.com>
> I don't know. FWIW, I'd do it like this:
> ip -j -4 r | jq -r '.[] | select(.dst == "default") | .dev'
jq is a cool query langage over a arguable serialization system.
i'm waiting for cbor to replace json the way json replaced xml :)
thanks for your answer.
marc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author