Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google site




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-18-2008
Tytalus's Avatar
Tytalus Tytalus is offline Forum Advisor  
echo {1..9}^2\;|bc
 

Join Date: Jun 2003
Location: Scotland
Posts: 440

Code:
tr "\n" " " < filename

i.e. change newlines (\n) to spaces

HTH

Last edited by Tytalus; 02-18-2008 at 11:21 AM.. Reason: oops - can't type today :-)