gg 130 B

1234567
  1. #!/bin/sh
  2. full=`git grep -n - | pick`
  3. file=`echo "$full" | cut -d : -f 1`
  4. line=`echo "$full" | cut -d : -f 2`
  5. echo "$file:$line"