On Tue, 5 Nov 2002, MET wrote:

>       if ( ! $2 ) then
>               echo You must set a second file
>               exit 1
>       fi

Start by reading the bash manual at:

        http://www.gnu.org/manual/bash-2.05a/bashref.html

But you can do a test expression like:

        if [[ -z $2 ]]; then
                echo You must set a second file
                exit 1
        fi

-- 
"Whenever I feel blue, I start breathing again."

                               - Unknown




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to