4 ms·
Bash shell script: using pipes → « cat MonFichier | while read LaLigne ; do echo $LaLigne ; done »
by dClauzel 10y ago
Bash shell script: using pipes → « cat MonFichier | while read LaLigne ; do echo $LaLigne ; done »
- lastofus 10y agoIt's also one of the coolest features in Elixir IMO. http://elixir-lang.org/getting-started/enumerables-and-streams.html#the-pipe-operator http://elixir-lang.org/getting-started/enumerables-and-strea...
- gargarplex 10y agoAwesome. Is Elixir prevalent in production yet? Will it be? I think I want to learn either OCaml or Elixir next.
- lastofus 10y agoIt's probably more prevalent than OCaml at this point despite it's young age. It builds on top of Erlang/OTP which is quite battle tested and used by several major companies. The community behind it is quite strong as well.
- aashishkoirala 10y agoPipes are pretty prevalent in PowerShell too.
- dozzie 10y agoThough not as useful as in Bourne shell, as you can't save intermediate results to review or reprocess them.