Created
September 8, 2017 01:07
-
-
Save mitakeck/421559e740ef72f682d954d3af03572b to your computer and use it in GitHub Desktop.
awk のエイリアス
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# row : awk のエイリアス | |
alias row='() {awk "{print \$${1:-1}}"}' | |
alias average='() { awk "{m+=\$${1:-1}} END{print m/NR}"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment