#!/bin/sh KDEDIR=/opt/kde/share/services ORIGDIR=`pwd` if [ $1 = "gnome" ]; then gconftool-2 /desktop/gnome/url-handlers --all-dirs | cut --delimiter=/ -f 5 | while read line; do { gconftool-2 /desktop/gnome/url-handlers/$line -a | grep -i 'command' | cut --delimiter== -f 2 | while read line2; do { echo -e "$line\t\t$line2" } done } done else if [ $1 = "help" ]; then echo echo "./DUH.sh