home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:10310 comp.unix.programmer:4415
- Newsgroups: comp.unix.questions,comp.unix.programmer
- Path: sparky!uunet!decwrl!access.usask.ca!ccu.umanitoba.ca!umnoor
- From: umnoor@ccu.umanitoba.ca (Nasir Ahmed Noor)
- Subject: ``Sort'' Problem
- Message-ID: <1992Aug23.205531.24816@ccu.umanitoba.ca>
- Followup-To: poster
- Sender: news@ccu.umanitoba.ca
- Nntp-Posting-Host: asimov.cc.umanitoba.ca
- Organization: University of Manitoba, Winnipeg, Canada
- Date: Sun, 23 Aug 1992 20:55:31 GMT
- Lines: 33
-
-
- Hi,
- I am trying to sort following lines (this is an example)
-
- the value of this line is 1
- the value of this line is 2
- the value of this line is 10
- the value of this line is 40
- the value of this line is 6
-
- I want result to be like:
-
- the value of this line is 1
- the value of this line is 2
- the value of this line is 6
- the value of this line is 10
- the value of this line is 40
-
- The ``sort'' give me result like:
-
- the value of this line is 1
- the value of this line is 10
- the value of this line is 2
- the value of this line is 40
- the value of this line is 6
-
- Any solutions?
- Would appreciate your help.
-
- thanks in advance.
-
- --nasir
- umnoor@ccu.umanitoba.ca
-