Skip to content

Instantly share code, notes, and snippets.

@akanehara
Last active February 9, 2017 06:47
Show Gist options
  • Save akanehara/8cc840a60f960cb153dfa8b960d90e64 to your computer and use it in GitHub Desktop.
Save akanehara/8cc840a60f960cb153dfa8b960d90e64 to your computer and use it in GitHub Desktop.
Home-brew シェル芸準備
# Mac
brew install xz coreutils findutils homebrew/dupes/diffutils homebrew/dupes/grep gnu-sed gawk gnu-tar parallel nkf jq nmap openssl
$(brew --prefix coreutils)/libexec/gnubin
$(brew --prefix findutils)/libexec/gnubin
$(brew --prefix gnu-sed)/libexec/gnubin
$(brew --prefix gawk)/bin
# Other
# GNU Parallel
U=http://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2;D=$HOME/$(basename $U|cut -d. -f1);(mkdir -p $D&&cd $D&&curl -s $U|tar xjv --strip=1 -C .&&./configure&&make&&sudo make install)
# jq
U=https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz;D=$HOME/$(basename $U|cut -d. -f1,2);(mkdir -p $D&&cd $D&&curl -s -L $U|tar xzv --strip=1 -C .&&./configure --disable-maintainer-mode&&make&&sudo make install)
# websocket版ncatのようなもの
https://github.com/esphen/wsta/
# その他のなんとかutils
Dateutils
http://www.fresse.org/dateutils/
moreutils
https://joeyh.name/code/moreutils/
GNU Mailutils
http://mailutils.org/
HTML-XML-utils
https://www.w3.org/Tools/HTML-XML-utils/
GNU Core Utilities
http://savannah.gnu.org/projects/coreutils/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment