home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10310 < prev    next >
Encoding:
Internet Message Format  |  1992-08-23  |  1.3 KB

  1. Xref: sparky comp.unix.questions:10310 comp.unix.programmer:4415
  2. Newsgroups: comp.unix.questions,comp.unix.programmer
  3. Path: sparky!uunet!decwrl!access.usask.ca!ccu.umanitoba.ca!umnoor
  4. From: umnoor@ccu.umanitoba.ca (Nasir Ahmed Noor)
  5. Subject: ``Sort'' Problem
  6. Message-ID: <1992Aug23.205531.24816@ccu.umanitoba.ca>
  7. Followup-To: poster
  8. Sender: news@ccu.umanitoba.ca
  9. Nntp-Posting-Host: asimov.cc.umanitoba.ca
  10. Organization: University of Manitoba, Winnipeg, Canada
  11. Date: Sun, 23 Aug 1992 20:55:31 GMT
  12. Lines: 33
  13.  
  14.  
  15. Hi,
  16. I am trying to sort following lines (this is an example)
  17.       
  18.         the value of this line is 1
  19.         the value of this line is 2
  20.         the value of this line is 10
  21.         the value of this line is 40
  22.         the value of this line is 6
  23.  
  24. I want result to be like:
  25.  
  26.         the value of this line is 1
  27.         the value of this line is 2
  28.         the value of this line is 6
  29.         the value of this line is 10
  30.         the value of this line is 40
  31.  
  32. The ``sort'' give me result like:
  33.  
  34.         the value of this line is 1
  35.         the value of this line is 10
  36.         the value of this line is 2
  37.         the value of this line is 40
  38.         the value of this line is 6
  39.  
  40. Any solutions?
  41. Would appreciate your help.
  42.  
  43. thanks in advance.
  44.  
  45. --nasir
  46. umnoor@ccu.umanitoba.ca
  47.