Last active
February 4, 2016 17:28
-
-
Save jonahvsweb/f97208362b825a6bdb05 to your computer and use it in GitHub Desktop.
Useful ZSH custom functions
This file contains hidden or 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
################### | |
# Custom Functions | |
################### | |
function newdir { mkdir $1 && cd $1; } #Usage: newdir $new_dir_name | |
function parsecsv { cat $1 | cut -d $2 -f $3 | grep -v -e "^$" > ~/Desktop/$4.csv; } #Usage: parsecsv $original_csv $delimiter $column_num $new_csv_filename | |
# More to come |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment