Re: Unix command output to HTML !! sorry Off topic !!!
BN wrote:
>
> I have setup ssh and able to run ssh command to display the info on
> the webpage
> for example (ssh user@host bdf)
> But the output displayed on the page is not formatted.
echo '<pre>'
ssh user@host bdf | sed "s/$/<br>/"
echo '</pre>'
--
Best regards | "The only way to really learn scripting is to write
Cyrus | scripts." -- Advanced Bash-Scripting Guide
|