2020-05-19 18:20:18 +02:00
|
|
|
+++
|
|
|
|
title = "varlink and the elvish shell"
|
|
|
|
date = 2018-02-22T09:53:37+00:00
|
2023-10-26 11:53:38 +02:00
|
|
|
[taxonomies]
|
|
|
|
tags = ["varlink", "programming"]
|
2020-05-19 18:20:18 +02:00
|
|
|
+++
|
|
|
|
I recently discovered [Elvish](https://elvish.io/), which is a shell perfectly
|
|
|
|
suited to process structured data. In my case it is perfect to be used with
|
|
|
|
[varlink](http://varlink.org). Too bad elvish has no numeric type and
|
|
|
|
can't feed varlink with int and float, because to\-json converts them to strings.
|
|
|
|
|
|
|
|
<!-- more -->
|
|
|
|
|
|
|
|
<img src=https://harald.hoyer.xyz/wp-content/uploads/sites/2/2018/02/Screenshot-from-2018-02-22-11-07-04.png>
|
|
|
|
|
|
|
|
To see what I mean, watch this video:
|
|
|
|
|
|
|
|
[![video preview](/img/elvis-varlink-screencast.png)](https://asciinema.org/a/bB3OatlJltV3tTdSRpsrQELxQ).
|