#!/bin/bash echo "$@"|grep -- "--detail" &>/dev/null is_detail=$? echo "$@"|grep -- "--brief" &>/dev/null is_brief=$? echo "$@"|grep -- "--export" &>/dev/null is_export=$? if [ $is_detail -eq 0 ]; then cat <