[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash, cat and EOF problem



On Thu, Mar 02, 2006 at 02:41:08PM +0800, LUK ShunTim wrote:

> if [ -z "$AAA" ]; then
>    cat <<EOF >>outfile
>    EOF
> fi

Remove indentation before EOF or use <<"   EOF".



Reply to: