13 Nov 2012 at 12:35 #1 dfarrall dfarrall Permabanned Joined 21 Nov 2010 Posts 2,315 Location Newton Aycliffe I have a script that outputs some information from a list into a new file, but every time it puts it into the new file it leaves a blank line below. How can i stop it doing it? It's driving me mad
I have a script that outputs some information from a list into a new file, but every time it puts it into the new file it leaves a blank line below. How can i stop it doing it? It's driving me mad
13 Nov 2012 at 12:39 #2 geuben geuben Associate Joined 23 Mar 2006 Posts 1,739 Assuming you are using the echo command, use "echo -n" to omit the new line on the end
13 Nov 2012 at 12:58 #3 dfarrall dfarrall Permabanned OP Joined 21 Nov 2010 Posts 2,315 Location Newton Aycliffe We have a winner! Thanks. Probably more to come.
13 Nov 2012 at 12:59 #4 geuben geuben Associate Joined 23 Mar 2006 Posts 1,739 I would suggest checking the man pages first