Hi,
I am Using OpenBabel for converting one file format to other. I am getting
> the desired output. Along with it I am getting following displayed on my
> command line:
>
> 1 molecule converted
> 14 audit log messages 1 debugging messages
>
> I dont want it to be displayed on the CMD. Any suggestions.
> I have used the command "babel -i cif file name -o pdb file name > a.txt"
>
> I want "1 molecule converted
> 14 audit log messages 1 debugging messages" to be written in a file named
> a.txt
>
> Is it possible?
>
>
Try ">&" or "2>":
babel -i cif file name -o pdb file name 2> a.txt
See e.g. http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html
Regards,
Pascal
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss