![]() |
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 |
| Sort ascending and descending | don_0110 | UNIX for Dummies Questions & Answers | 1 | 11-27-2008 03:59 PM |
| Ascending & Descending order numbers | pravani1 | Shell Programming and Scripting | 6 | 06-03-2008 07:43 AM |
| How to sort a string with numbers | ahjiefreak | Shell Programming and Scripting | 5 | 12-21-2007 10:52 AM |
| How to add numbers? | pnxi | Shell Programming and Scripting | 7 | 09-11-2003 06:25 AM |
| Sort / ascending order | gyik | UNIX for Dummies Questions & Answers | 1 | 03-05-2001 10:08 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Sort Numbers in ascending orders
Hi All,
I am new to Shell programming. I have problems creating a csh script which can sort numbers in ascending orders using array. For eg, given the following numbers: 8, 56, 15, 37, 21. I would want the output to be in the following: 8,15,21,37,56. Can anybody help me with this ? |
![]() |
| Bookmarks |
| Tags |
| awk, awk trim, trim, trim awk |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|