Node: B
Sign in

The Craftsman's Blog

Andi Altendorfer, e-Matrix Innovations
A playground and sandbox for Altex

shell       2018 2019 2020 2021 2022 about altex andi apple ax bash blog book bucketier conf craft css datasource dev elixir env erlang exconfig hardware hex i3 interview javascript jekyll learning linux liveview mac misc nerves obsolete people phoenix podcasts project quote shell simplicity software talk timewrap tweet util video vim
Andi, 2018-10-17
I’m using Elixir as a scripting language for the shell And it’s that easy … Write a file, hello.exs for example. {% highlight elixir %} #!/usr/bin/env elixir defmodule Greeter do def hello(name), do: IO.puts “Hello, #{name}!” end Main Greeter.hello( hd(System.argv() ) {% endhighlight %} Don’t forget to chmo....
shell       2018 2019 2020 2021 2022 about altex andi apple ax bash blog book bucketier conf craft css datasource dev elixir env erlang exconfig hardware hex i3 interview javascript jekyll learning linux liveview mac misc nerves obsolete people phoenix podcasts project quote shell simplicity software talk timewrap tweet util video vim