Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.83 KB | None | 0 0
  1. $ bash script zombie.txt
  2. runapp: wine /opt/var/public/Windows/Games/DDX/OpenBOR/OpenBOR.exe
  3. workdir: /opt/var/public/Windows/Games/DDX/OpenBOR/
  4. $ cat script
  5. unset runapp workdir
  6. while read -r line
  7. do
  8.     case $line in
  9.     Exec=*) runapp=${line#*=};;
  10.     Path=*) workdir=${line#*=};;
  11.     esac
  12. done < "$1"
  13.  
  14. echo "runapp: $runapp"
  15. echo "workdir: $workdir"
  16. $ cat zombie.txt
  17. [Desktop Entry]
  18. Comment=
  19. Comment[en_US]=
  20. Encoding=UTF-8
  21. Exec=wine /opt/var/public/Windows/Games/DDX/OpenBOR/OpenBOR.exe
  22. GenericName=Open Beats of Rage
  23. GenericName[en_US]=Open Beats of Rage
  24. Icon=wine
  25. MimeType=
  26. Name=Open Beats of Rage
  27. Name[en_US]=Open Beats of Rage
  28. Path=/opt/var/public/Windows/Games/DDX/OpenBOR/
  29. StartupNotify=true
  30. Terminal=false
  31. TerminalOptions=
  32. Type=Application
  33. X-DCOP-ServiceType=
  34. X-KDE-SubstituteUID=false
  35. X-KDE-Username=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement