![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sorting ASCII string containing numbers | GKnight | UNIX for Dummies Questions & Answers | 8 | 04-24-2009 09:26 AM |
| Sorting an address string | Minimum | Shell Programming and Scripting | 0 | 09-13-2008 05:15 PM |
| PERL data - sorting | eagercyber | Shell Programming and Scripting | 3 | 06-20-2008 04:02 AM |
| perl sorting | joeyg | Shell Programming and Scripting | 5 | 02-15-2008 03:56 PM |
| Sorting a string | Khoomfire | UNIX for Advanced & Expert Users | 14 | 01-18-2006 04:34 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Perl: sorting by string
I have an array full of string values that need to be sorted, but if a value starts with (regex) 0^[SV] it should be at the beginning of the array. Otherwise the array should be sorted normally using ascii sort.
Please help me create the sub to pass to the sort function. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|