> Does anyone have a simple Perl (or C) script to write data from a > serial port to a file? Preferably something with no dependencies, but > I don't mind having to install a couple Perl modules if need be.
Most terminal programs have a log-to-file option. > I tried the logserial program that I found in the FreeBSD ports tree, > but it keeps putting extra returns in between each row of data. Is that a CR vs CR/LF mixup? If so, record it however you can and clean out the LFs later. I used to have scripts that converted from one mode to another. I think one used sed and the other used awk. If it really is an extra blank line, that should be reasonably easy to filter out. -- These are my opinions, not necessarily my employer's. I hate spam. _______________________________________________ time-nuts mailing list [email protected] https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
