The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 03-10-2009
R.T. R.T. is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 12
Are you familiar with awk?
You could try

Code:
awk '{print $1" x "$2" = "$1*$2}' filename

$1 would be the first field, $2 would be the second, etc.