github.com/golang-haiku/go-1.4.3@v0.0.0-20190609233734-1f5ae41cc308/include/plan9/mklibc.rc (about) 1 #!/bin/rc 2 3 pattern='/umuldiv/d 4 /rune routines/,/^\/\*/d 5 /print routines/,/^\/\*/d 6 /error string for/,/^\/\*/d' 7 8 sed -e $pattern /sys/include/libc.h | awk '/^enum/ && !n++, /^};/ {next}1'