You are looking at historical revision 2497 of this page. It may differ significantly from its current revision.

Writing portable scripts

To write scripts that don't require to specify the full path to csi, the following technique might be useful:

#! /bin/sh
exec csi -s $0 "$@"

Writing portable scripts with env

Even easier:

#! /usr/bin/env csi -s