The UNIX and Linux Forums  


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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-28-2009
cfajohnson's Avatar
cfajohnson cfajohnson is offline Forum Advisor  
Shell programmer, author
  
 

Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,365

You haven't explained the process by which this:

Quote:
Originally Posted by mohan705 View Post

Code:
102345  1000 200  300
...............................
..............................
102346  2000 300  4000
is turned into this:

Quote:

Code:
102345  1000 200  300

102346  200 300 400

102347  200 300 400

102348  200 300 400

102349  200 300 400
.............................
..............................
102400  200 300 400
Which lines do you want incremented?

Do you want more than one line of output for any line of input?