Quote Originally Posted by ghostdog74 View Post
in your perl script, check for pattern "History", if found, don't print "\n". How's that? otherwise, describe how your output will be!
Also, provide the web page link
History isn't in the page; that's why I'm adding it with echo. But my problem's solved
Quote Originally Posted by dominiquec View Post
Try this:

Code:
echo "History: " `mycommand`
Putting a command between ` quotes will send its output to echo.
Thanks! That solved it.