Joined November 2012
·
Posted to
Brace Expansion in Bash
over 1 year
ago
Excelent summary of brace expansion :)
I just want to add that you can use ranges of numbers and letters.
$ echo foo{1..5}
foo1 foo2 foo3 foo4 foo5
$ echo foo{a..c}
fooa foob fooc
Posted to
Download and install a .dmg file from Mac OS terminal
over 1 year
ago
@sheerun it needs more testing before doing that, but thanks for the advice :)
Posted to
Ultimate Webdev Time Saver
over 1 year
ago
@sjhcockrell neat! I will shamelessly copy the good parts tomorrow and blend them with mine :)
Posted to
Ultimate Webdev Time Saver
over 1 year
ago
I coded a bash script ( https://gist.github.com/748896 ) with the same idea and man, you really save time!
Achievements
232 Karma
21,398 Total ProTip Views
Raven
Have at least one original repo where some form of shell script is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
Cub
Have at least one original jQuery or Prototype open source repo
An extra tip: if you only want to change the commit message instead of editing the commit itself you can use
reword
instead ofedit
and git will take care of everything for you :)