If all you want to do is copy whatever comes in the serial port to a file, "cat" would probably do what you need. Use awk (gawk) if you want to prepend the current date/time.
Gary Jason Rabel wrote: > I did some Googling but kept hitting dead ends, so I figured I would hit you > guys up for some help. > > I finally got my Shera board working (Thanks to James Miller for helping me > finally get it going), and I would like to record the serial data to process > later. > > 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. > > 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. > > Jason > _______________________________________________ time-nuts mailing list [email protected] https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
