Created
August 29, 2012 12:58
-
-
Save dhowden/3512108 to your computer and use it in GitHub Desktop.
Script to convert filename.ext:line into correct command format for `mate`
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
#!/bin/bash | |
IFS=: | |
ary=($1) | |
mate ${ary[0]} -l ${ary[1]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment