Skip to content

Instantly share code, notes, and snippets.

@dhowden
Created August 29, 2012 12:58
Show Gist options
  • Save dhowden/3512108 to your computer and use it in GitHub Desktop.
Save dhowden/3512108 to your computer and use it in GitHub Desktop.
Script to convert filename.ext:line into correct command format for `mate`
#!/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