summaryrefslogtreecommitdiff
path: root/src/cmd/gc/mkopnames
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/gc/mkopnames')
-rwxr-xr-xsrc/cmd/gc/mkopnames4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/gc/mkopnames b/src/cmd/gc/mkopnames
index fb2ceec81..d3f27e815 100755
--- a/src/cmd/gc/mkopnames
+++ b/src/cmd/gc/mkopnames
@@ -14,8 +14,8 @@ echo '{'
sed -n '/OXXX/,/OEND/p' go.h |
cpp |
sed 's!//.*!!; /^#/d' |
- tr ' ' '\n' |
- tr -d ' \t,' |
+ tr ' ' '\012' |
+ tr -d ' \011,' |
grep . |
sort |
grep -v '^OEND$' |