Skip to content

Instantly share code, notes, and snippets.

@jacobsandlund
jacobsandlund / split_opts.sh
Created Mar 27, 2012
Split combined short shell options
View split_opts.sh
#!/bin/sh
# This shows how to handle combined short options along with
# other long and short options. It does so by splitting them
# apart (e.g. 'tar -xvzf ...' -> 'tar -x -v -z -f ...')
while test $# -gt 0
do
case $1 in
@peterhost
peterhost / quix.txt
Created Nov 27, 2011
Peter Host's custom Quix commands
View quix.txt
> Peter Host's Custom Quix Commands
> TITLE: quix.txt
> GITHUB: https://raw.github.com/peterhost/quix/master/quix.txt
> MORE: http://quixapp.com
>---------------------
> QUIX
>---------------------
edit http://gist.github.com/gists/1397755/edit Edit my Quix Commands
View gist:158851
1. Download: http://files.getdropbox.com/u/559047/cocoa.tgz
2. sudo mv /Library/Frameworks/RubyCocoa.framework -> /Library/Frameworks/RubyCocoa.framework-bad
3. upack cocoa.tgz into /Library/Frameworks/
4. sudo mv /Library/Frameworks/RubyCocoa.framework-good -> /Library/Frameworks/RubyCocoa.framework
hope it helps
You can’t perform that action at this time.