Skip to content

Commit

Permalink
Add ibash and notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenjanssens committed Feb 8, 2015
1 parent 44df5ae commit b3ac8d9
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 139 deletions.
139 changes: 0 additions & 139 deletions _drafts/2014-12-01-ibash-notebook.markdown

This file was deleted.

61 changes: 61 additions & 0 deletions _drafts/pipes.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
layout: post
title: "Those who don't understand Unix pipes…"
date: 2014-12-20 10:00:00
description: ""
image: /img/twitter-ibash_notebook.png
twitter_card: summary_large_image
---


// what's a Unix pipe?
// makes it very powerfull
// Here's an example
Pipes are powerful.
Functional programming
Infix operator | to chain commands.
It's what makes the Unix command line so flexible.


Example: Unix: "|":


If you really want to understand them: http://blog.petersobot.com/pipes-and-filters

I have been noticing a trend in reinventing
Reminds me of a quote

> Those who don't understand Unix
> are condemned to reinvent it, poorly.
> &mdash;<cite>Henry Spencer</cite>
Now you understand why I picked this title. Please know that I only chose the title because of the quote. I'm not saying they're poorly implemented.
It's great!

It's interesting how users of the language are completely blown away by it, not knowing it's been around for a very long time.

Here are a few programming languages
either library or native.

# Languages:

F#: |> http://theburningmonk.com/2011/09/fsharp-pipe-forward-and-pipe-backward/
Haskell: ">->": https://github.com/Gabriel439/Haskell-Pipes-Library
R: ">%>" https://github.com/smbache/magrittr
Python: |: https://github.com/JulienPalard/Pipe
Julia: |> https://github.com/JuliaLang/julia/pull/5236
Ruby: |: sanitize_pipe:


# Miscellaneous:

JQ: "|":
pyp: "|": https://code.google.com/p/pyp/


Conceptual level.
The commands in a Unix pipeline are executed in parallel


What do you ma
Can you think of others?
Loading

0 comments on commit b3ac8d9

Please sign in to comment.