#! /bin/ksh # # Author: Mike Fleming mike@tauzero.co.uk # # Options # # -e Don't ask if you really want to exit # -m Display mixed files and directories # -w Display mixed files and directories, directories first # (like Windows, hence w) while getopts :emw opt do case $opt in e) export FM_CHECK_EXIT=N;; m) export FM_DISPLAY=M;; w) export FM_DISPLAY=W;; *) echo Unknown option $OPTARG return 1;; esac done shift $((OPTIND - 1)) cobrun filemanager $*