51d2746f62e56f76a4be681d5e01d8fbdd0791da
   1#! /bin/bash
   2
   3#include <sys/param.h>
   4#include <stdlib.h>
   5
   6exe=$1
   7files=${@:2}
   8path=''
   9
  10resolve() {
  11        path=$(realpath $1)
  12        echo $1
  13}
  14
  15#$(open -a $1 
  16
  17for f in $files
  18do
  19        open -a $exe $(resolve $f)
  20        echo $(resolve $f)
  21done