I'm very new to shell scripting, and I need to append stdout to a file. I do this using
command >> file
this works fine, except that I want the data to be appended on the same line, with no space in between the existing data and the new data, for example, if stdout contains "", and tempfile contains "31", i get:
13
37
when i want 1337
any ideas on how to do this (or maybe format a file so that everything is on 1 line??)
please help!!!! thankyou.
