Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. #! /bin/bash
  2. unset runapp workdir
  3. while read -r line
  4. do case $line in Exec*) runapp=${line#*=};; Path*) workdir=${line#*=};; esac
  5. done < "$1"
  6. echo "runapp: $runapp"
  7. echo "workdir: $workdir"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement