Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ bash script zombie.txt
- runapp: wine /opt/var/public/Windows/Games/DDX/OpenBOR/OpenBOR.exe
- workdir: /opt/var/public/Windows/Games/DDX/OpenBOR/
- $ cat script
- unset runapp workdir
- while read -r line
- do
- case $line in
- Exec=*) runapp=${line#*=};;
- Path=*) workdir=${line#*=};;
- esac
- done < "$1"
- echo "runapp: $runapp"
- echo "workdir: $workdir"
- $ cat zombie.txt
- [Desktop Entry]
- Comment=
- Comment[en_US]=
- Encoding=UTF-8
- Exec=wine /opt/var/public/Windows/Games/DDX/OpenBOR/OpenBOR.exe
- GenericName=Open Beats of Rage
- GenericName[en_US]=Open Beats of Rage
- Icon=wine
- MimeType=
- Name=Open Beats of Rage
- Name[en_US]=Open Beats of Rage
- Path=/opt/var/public/Windows/Games/DDX/OpenBOR/
- StartupNotify=true
- Terminal=false
- TerminalOptions=
- Type=Application
- X-DCOP-ServiceType=
- X-KDE-SubstituteUID=false
- X-KDE-Username=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement