summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
57b98a9)
The sed on Mac doesn't understand \n.
osl_errors.h: errlist
sed -e 's/\([A-Z_]*\) .*/ E_OSL_\1/' \
osl_errors.h: errlist
sed -e 's/\([A-Z_]*\) .*/ E_OSL_\1/' \
- -e '1s/^/enum osl_errors {\n/1' \
+ -e '1s/^/enum osl_errors {/1' \
- -e '$$s/$$/\n};/1' $< > $@
+ -e '$$s/$$/};/1' $< > $@
errtab.h: errlist
sed -e 's/^\([A-Z_]*\)\s*\(.*\)/_S(E_OSL_\1, \2)/g' $< > $@
errtab.h: errlist
sed -e 's/^\([A-Z_]*\)\s*\(.*\)/_S(E_OSL_\1, \2)/g' $< > $@