#! /bin/bash # Dave Leigh / September, 2000 / Public Domain # http://www.cratchit.org # # This should be able to send whatever comes in as a parameter # (designed to be a KDE file link) and execute the program # specified in the Exec= property. # # INSTALLATION: Copy it somewhere into your PATH and make it # executable. In StarOffice, go to Tools|Options|Browser|Filetypes # and add a filetype "*.kdelnk" opened with External, Application # "runkdelnk". Now StarOffice can execute KDE links on the desktop. # awk '/^Exec=/ {system(substr($0,6))}' $1