github.com/hongwozai/go-src-1.4.3@v0.0.0-20191127132709-dc3fce3dbccb/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'