From owner-chemistry $#at#$ ccl.net Tue May 2 15:37:08 2006 From: "Shobe, David dshobe[*]sud-chemieinc.com" To: CCL Subject: CCL: Sorting Question Message-Id: <-31661-060502122651-14466-l0o1/zYzWwGvVfzY6L4t+Q a server.ccl.net> X-Original-From: "Shobe, David" Content-class: urn:content-classes:message Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 2 May 2006 18:26:33 +0200 MIME-Version: 1.0 Sent to CCL by: "Shobe, David" [dshobe]=[sud-chemieinc.com] There is a Windows version of Perl, and it is free, so those answers were not entirely off topic. The issue here may be whether Dr. Wood already knows Perl or a similar scripting language. As has been pointed out, *writing* the script can be done in under 10 minutes. *Learning* the language, especially if it is your first programming language, is very time consuming. OTOH, if the DOS sort command works for him, there's no need for anything more complicated. --David Shobe, Ph.D., M.L.S. Süd-Chemie, Inc. phone (502) 634-7409 fax (502) 634-7724 Don't bother flaming me: I'm behind a firewall. -----Original Message----- > From: owner-chemistry#,#ccl.net [mailto:owner-chemistry#,#ccl.net] Sent: Tuesday, May 02, 2006 9:54 AM To: Shobe, David Subject: CCL: Sorting Question Sent to CCL by: "Phil Hultin" [hultin[a]cc.umanitoba.ca] This is a multi-part message in MIME format. ------=_NextPart_000_0046_01C66DC4.72111EA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I have been a bit amused by all the suggestions to help Richard Wood with his question about sorting 2x10^6 lines of text. The majority opinion has been to use some other operating system and to learn a new scripting language. Did nobody actually read Richard's specific statement that he needed something to run under windows, and that was free? I once again point out that windows still contains a perfectly functional command line text sorter (oddly enough, called "SORT"), and it will do exactly what is required using the specified operating system with no more learning than just reading the help file. One line of input required, with arguments to specify the input and output files, and which column of text to sort on, as well as other useful parameters. Nothing against all the suggestions people made - these are very nice ways to do the required task. They just don't meet the customer's specification. Dr. Philip G. Hultin Associate Professor of Chemistry, University of Manitoba Winnipeg, MB R3T 2N2 hultin__cc.umanitoba.ca http://umanitoba.ca/chemistry/people/hultin ------=_NextPart_000_0046_01C66DC4.72111EA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I have been a bit amused by all the suggestions to = help Richard Wood with his question about sorting 2x10^6 lines of = text.

 

The majority opinion has been to use some other = operating system and to learn a new scripting language.  Did nobody actually = read Richard’s specific statement that he needed something to run under windows, and = that was free?

 

I once again point out that windows still contains a perfectly functional command line text sorter (oddly enough, called = “SORT”), and it will do exactly what is required using the specified operating = system with no more learning than just reading the help file.  One line of = input required, with arguments to specify the input and output files, and = which column of text to sort on, as well as other useful = parameters.

 

Nothing against all the suggestions people made = – these are very nice ways to do the required task.  They just = don’t meet the customer’s specification.

 

Dr. Philip G. Hultin

Associate Professor of = Chemistry,

University of Manitoba

Winnipeg, MB

R3T 2N2

hultin__cc.umanitoba.ca

http://umanitoba.ca/= chemistry/people/hultin

 

------=_NextPart_000_0046_01C66DC4.72111EA0--http://www.ccl.net/cgi-bin/ccl/send_ccl_messagehttp://www.ccl.net/chemistry/sub_unsub.shtmlhttp://www.ccl.net/spammers.txtThis e-mail message may contain confidential and / or privileged information. If you are not an addressee or otherwise authorized to receive this message, you should not use, copy, disclose or take any action based on this e-mail or any information contained in the message. If you have received this material in error, please advise the sender immediately by reply e-mail and delete this message. Thank you.