Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
ghostscript-library
make.lost
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor