Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
texlive.29065
cnf-to-paths.awk
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cnf-to-paths.awk of Package texlive.29065
/^[ \t]*[A-Z0-9_]+[ \t]*=/ { ident = $0 sub(/^[[:blank:]]*/, "", ident) sub(/[[:blank:]]*=.*/, "", ident) val = $0 sub(/^.*=[[:blank:]]*/, "", val) sub(/[[:blank:]]*$/, "", val) gsub(/;/, ":", val) VAR[ident] = val } END { for (ident in VAR) { val = VAR[ident] split(val, pieces, /[:,]/) for (one in pieces) { match(pieces[one], /\$\{?([[:upper:]]+)\}?/, arr) if (RSTART == 0) continue if (arr[1] ~ /OSFONTDIR/) continue if (VAR[arr[1]] ~ /\$/) continue gsub(/\$\{?arr[1]\}?/, VAR[arr[1]], val) } print "#ifndef DEFAULT_" ident print "#define DEFAULT_" ident " \"" val "\"" print "#endif" print "" } }
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