]> git.lizzy.rs Git - plan9front.git/blob - acme/bin/win
git/branch: make '-n' use HEAD when '-b' unspecified
[plan9front.git] / acme / bin / win
1 #!/bin/rc
2 flags=()
3 while(~ $1 -*){
4         flags=($flags $1)
5         shift
6 }
7 if(~ $#* 0){
8         *=(rc -i)
9 }
10 /acme/bin/$cputype/winfs $flags $1 >/dev/null >[2=1] || {
11         # compat
12         exec /acme/bin/$cputype/win $*
13         exit
14 }
15 echo dump win $* > /dev/acme/ctl
16 </dev/cons >/dev/cons >[2=1] $*
17 exit ''