#!/bin/bash
set -o posix
#vi=
echo ${vi-`whereis vi`}
vi=
echo ${vi:-`whereis vi`}