How can I pipe to file [on a TINI], but to append, not overwrite? -> RE: tini
"Kelly Smith" <[email protected]> Sat, 29 May 2004 14:14:33 -0700
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Dear Brad - Re: "hey, how can I pipe to file [on a TINI], but to append, not overwrite?" You can append to an existing a log file (without over-writing it) on a TINI, like this: java myApp.tini >> log.txt & Use the ">>" to append. This is a "logged run" of my TAI8590.tini (AAG Electronica 1-Wire LCD Text Display (using a DS2408)) application, running on a Systronix TStik (in Spanish). I stopped the application, and then killed it, and then ran it again (with the same command to ">>" append to the log.txt file. Best regards, Kelly Smith P.S You should let the list know what you have been up to (your application)! You should post your URL for your web-site sometime! I think they (the TINI\1Wire SIGs) would very be interested! It (the 'Climbing Data Logger'), is very COOL!!! 'Hasta-la-bye-bye, Amigo... You can get the details (zip file) on the AAG 1-Wire LCD at: http://www.aagelectronica.com/aag/index.html ... in the "Download Area", under 'TAI8590 Java package for TINI by Kelly Smith'. Here's the "tests" output, so you can see where the ">>" append trick start\stops\starts: Estoy arrancando Adapter: TINIExternalAdapterPort:serial1 Direccion:9500000000129B29 Sat May 29 13:46:18 PST 2004 Sat May 29 13:46:20 PST 2004 Sat May 29 13:46:22 PST 2004 Sat May 29 13:46:24 PST 2004 Sat May 29 13:46:26 PST 2004 Sat May 29 13:46:27 PST 2004 Sat May 29 13:46:29 PST 2004 Sat May 29 13:46:31 PST 2004 Sat May 29 13:46:33 PST 2004 Sat May 29 13:46:35 PST 2004 Estoy arrancando Adapter: TINIExternalAdapterPort:serial1 Direccion:9500000000129B29 Sat May 29 13:46:52 PST 2004 Sat May 29 13:46:54 PST 2004 Sat May 29 13:46:56 PST 2004 Sat May 29 13:46:57 PST 2004 Sat May 29 13:46:59 PST 2004 -----Original Message----- From: Brad Zdanivsky [mailto:[email protected]] Sent: Saturday, May 29, 2004 1:19 PM To: Kelly Smith Subject: tini hey, how can I pipe to file, but to append, not overwrite? eg, on boot, run this: Java myApp.tini > log.txt & but to append? this is for a climbing data loger, of pulls, time and count.... needs to be very simple and robust. bz _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini