Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Clock: blah/1
Pin: blah/2
Net: blah/3
The clock global skew: 0.100
The longest path delay: 1.000
The shortest path delay: 1.100
The above 6 lines of text are repeated several hundred times with different Clock/Pin/Net names and assosiated values (next 3 lines).
All I want to do is reorder the file by skew: that is, keep the six lines for each clock together, but change the order of the whole file to list small skew -> largest skew.
I also want to add an option to sort by longest path delay or skew, but one thing at a time...need to get the skew ordered first. :-)
Many thanks in advance!
Regards,
-Chris
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sorting question...
by dragonchild (Archbishop) on Jan 16, 2004 at 03:27 UTC | |
|
Re: Sorting question...
by davido (Cardinal) on Jan 16, 2004 at 03:36 UTC | |
by Anonymous Monk on Jan 16, 2004 at 19:43 UTC | |
by davido (Cardinal) on Jan 17, 2004 at 05:08 UTC | |
by Anonymous Monk on Jan 17, 2004 at 20:34 UTC | |
by Roy Johnson (Monsignor) on Jan 16, 2004 at 20:02 UTC | |
by davido (Cardinal) on Jan 17, 2004 at 04:44 UTC | |
|
Re: Sorting question...
by BrowserUk (Patriarch) on Jan 16, 2004 at 04:49 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |