This website requires JavaScript.
Explore
Help
Sign in
d0p1
/
ack
Watch
1
Star
0
Fork
You've already forked ack
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
56ebd1409b
ack
/
lang
/
basic
/
src
/
maketokentab
7 lines
91 B
Text
Raw
Normal View
History
Unescape
Escape
Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.)
2006-07-18 16:45:57 +00:00
#!/bin/sh
Don't use ed to generate the Basic token list.
2022-07-16 11:47:22 +00:00
echo "char* tokentab[] = {"
awk '/^#define/ { print "\"" $2 "\"," }'
echo "};"
Reference in a new issue
Copy permalink