Vidéos d'aide de Screencast

End of Record Marker - Windows and UNIX

Created: 07 Avr. 2012 • Updated: 10 Mai 2012 | 2 comments
l'image des ooisk888
Ce problème a été résolu. Voir la solution.


I am building a logfile collector using Collector Studio and naturally we need to specify the "End Of Record Marker". There are predefined constants scuh ENDOFLINE, BLANKLINE and NULL.

I have found out that if I use a UNIX formatted log file on Windows, the collector cannot function as ENDOFLINE on Windows is assumed to be "\r\n".

Is there a way for me to change the "End Of Record Marker" on Windows from "\n\r" to just "\r"?

Many Thanks


Commentaires CommentairesAccéder au dernier commentaire

l'image des DavidZ

have a look at this two examples, i am not sure if you are after a one off change or to include it in the collector itself.

but for one off, VI is your freind , second link have a perl sample and other that you might find useful.



l'image des TatyanaS

Try to specify the value 0x0a, it should help.