]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/ape/yacc
crop /lib/face/48x48x8/n/nixie.1 to the right size (was 512x512)
[plan9front.git] / rc / bin / ape / yacc
1 #!/bin/rc
2
3 flagfmt='d,l,t,v,b stem'
4 args='grammar'
5
6 if(! ifs=() eval `{aux/getflags $*} || ! ~ $#* 1){
7         aux/usage
8         exit usage
9 }
10
11 y=-S
12 if (~ $#flagb 1) y=($y -s $flagb)
13 if (~ $#flagd 1) y=($y -d)
14 if (~ $#flagt 1) y=($y -D2)
15 if (~ $#flagv 1) y=($y -v)
16 exec /$cputype/bin/yacc $y $*