Giter Club home page Giter Club logo

bash-awk-jupyter's Introduction

Interactive Tutorials for AWK and bash

A work in process, occasionally worked on.

There are countless Awk tutorials online.

Also for bash ... TBD...

I decided to finally teach myself Awk and document the process in Jupyter notebooks with a Bash kernel. This is the result.

AWK outline

  1. Basics of Awk
  2. Regular expressions
  3. Input processing X. Built-in Functions X. Arrays X. ...

bash outline

  1. bash basics
  2. Arrays
  3. ...

See also

  • sed: "sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline)." ** What is the difference between sed and awk?
  • miller: "Miller is like sed, awk, cut, join, and sort for name-indexed data such as CSV."
  • jq: "jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text."

Running the notebooks:

To setup environment, build the Docker image or use mine:

docker pull miroadamy/jupyter-docker-bash

or 

docker build -t miroadamy/jupyter-docker-bash .

Then run it from working directory. I use non-standard port as I run several other notebooks

docker run --rm -p 9999:8888 -v $(pwd):/home/jovyan/work miroadamy/jupyter-docker-bash:latest

Notebook contains GNU awk version

awk --version
GNU Awk 4.1.4, API: 1.1 (GNU MPFR 4.0.1, GNU MP 6.1.2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.