Skip to content

Instantly share code, notes, and snippets.

View ravster's full-sized avatar

Ravi Desai ravster

View GitHub Profile
@ravster
ravster / awk
Created March 18, 2020 16:28
shell utilities
AWK
URLs:
https://blog.jpalardy.com/posts/why-learn-awk/
https://github.com/learnbyexample/Command-line-text-processing/blob/master/gnu_awk.md <- great intro to features
Sometimes called the Excel of the command-line
Follows the UNIX philosophy of "write programs as text filters"
Generally, a hint that you want AWK is when you write a shell script where you are piping sed to cut to grep to grep to tail etc.
It's everywhere due to being a requirement of the POSIX standard
@ravster
ravster / agignore.bash
Last active August 11, 2020 19:00
My dotfiles
cat <<EOF > .agignore
log
tags
tmp
vendor
.git/
bower_components/
node_modules/
coverage/
TAGS