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

cgi and bash



Hello all

I try to formatting out put cat command

cat /usr/lib/cgi-bin/test00.cgi

#!/bin/bash
echo "Content-type: text/html"
cat /tmp/file

results is:

one two three four

How format output like a bash script (with newline)?

one
two
three
four

thanks for help! :)

Pol


Reply to: