in reply to Re: Re: Connect:Direct?
in thread Connect:Direct?

I think it couldt be possible to get the output in a logfile. I will check it tomorow and will give you an update, or probably a full working example code ;-)
-----------------------------------
--the good, the bad and the physi--
-----------------------------------

Replies are listed 'Best First'.
Re: Re: Re: Re: Connect:Direct?
by nimdokk (Vicar) on May 20, 2003 at 13:21 UTC
    I was looking over your code sample some more and I think you could capture to STDOUT if you used backticks or simply do a redirect on the "commandline" like this:

    /path/to/your/cdunix/ndm/bin/ndmcli -x << EOJ >> $log_file
    I haven't tested this all out yet but it definitly looks promising so that I can finally work towards eliminating our Korn shell programs.