Zdenek Dohnal f3ef01
#!/usr/bin/sh
Zdenek Dohnal f3ef01
Zdenek Dohnal f3ef01
# run vim -R if available
Zdenek Dohnal 6b04c3
if test -f /usr/bin/vim
Zdenek Dohnal f3ef01
then
Zdenek Dohnal 6b04c3
  exec /usr/bin/vim -R "$@"
Zdenek Dohnal f3ef01
fi
Zdenek Dohnal f3ef01
Zdenek Dohnal f3ef01
# run vi otherwise
Zdenek Dohnal c53890
exec /usr/libexec/vi -R "$@"