Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
ncurses
edit.sed
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File edit.sed of Package ncurses
#!/bin/sh while test "${1::2}" = "--" ; do case "$1" in --cflags=*) cflags="${cflags:+$cflags }${1#*=}" shift ;; --cflags) cflags="${cflags:+$cflags }$2" shift 2 ;; --libs=*) libs="${libs:+$libs }${1#*=}" shift ;; --libs) libs="${libs:+$libs }$2" shift 2 ;; esac done sed -ri -e " /^[[:blank:]]*--cflags\)/,/;;/ { /;;/ a\\ --cflags)\\ echo $cflags\\ ;; d } /^[[:blank:]]*--libs\)/,/;;/ { /;;/ a\\ --libs)\\ echo $libs\\ ;; d }" ${1+"$@"}
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