The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 -->
  #6 (permalink)  
Old 03-16-2008
yunccll yunccll is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 23
Quote:
Originally Posted by jkl_jkl View Post
aaron,

It prints only

Code:
opqrst opqrst:1982:o
And not

Code:
efghij efghij:1980:e
opqrst opqrst:1982:o
i.e. if there are 2 longest fields, its printing the last one.
oh,sorry, I forgot the "max =cur", when I input my code into the reply!

.Aaron