File make.lost of Package ghostscript-library

#!/bin/bash
tab="$(echo -en '\t')"
devices="$(gs -h 2>&1 | sed -n '/^Available devices:/,/Search path:/p' |\
	grep -vE '(Available devices:|Search path:)')"

descr="$(cat $(find -name '*.mak') |\
	sed -n "/Catalog/,/End of catalog/ {
		:join
		$!N
		s/\n#\($tab\|[ ]\{7\}\)\($tab\|[ ]\{8,\}\)\{1,\}/ /
		t join
		/^#\( [\*\+]\($tab\|[ ]\{5\}\)\|\($tab\|[ ]\{7\}\)\)/ {
			s/^#\( [\*\+]\($tab\|[ ]\{5\}\)\|\($tab\|[ ]\{7\}\)\)//
			s/^None.*//
			s@^uniprint/:.*@@
			s/^(\([^[:space:]]\+\))/\1/
			P
		}
		D
	}" | grep -vE '^$' | sort -u -b -k 1,1 )"

for d in $devices; do
    descr="$(echo "$descr" | grep -vE "^$d[ $tab]")"
done

echo "$descr"
openSUSE Build Service is sponsored by