Re: [ql-users] Sorting
Morning all, I might have missed the point (as usual) or even part of this thread, but, sorting in DOS is easy. Open a dos box type sort input_file output_file Done. OK, sorting is based on the entire line in this case, if you want anything different, do this : help sort or sort /? And help will be displayed showing all sorts of (useful ?) options. I admin that the Unix sort is far better, as it the sort program that came with Digital C from DP all those years ago. I still use it on the odd occasion when I can't remember whow to write one myself !!! Cheers, Norman. ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Sorting
On Thu, 16 Feb 2006 at 08:15:13, wrote: (ref: [EMAIL PROTECTED]) Morning all, I might have missed the point (as usual) or even part of this thread, but, sorting in DOS is easy. Open a dos box type sort input_file output_file Done. OK, sorting is based on the entire line in this case, if you want anything different, do this : help sort or sort /? And help will be displayed showing all sorts of (useful ?) options. I admin that the Unix sort is far better, as it the sort program that came with Digital C from DP all those years ago. I still use it on the odd occasion when I can't remember whow to write one myself !!! perl (available on the QL I think) and python also offer good sorts. Tony -- QBBS (QL fido BBS 2:252/67) +44(0)1442-828255 tony@surname.co.uk http://firshman.co.uk Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Sorting
At 13:46 15/02/2006 +0100, you wrote: Easy to transfer the dos1_xxx.txt to win1_xxx_txt and then run win1_sort_bas using win1_xxx_txt and send it back directly to dos1_xxx1.txt Ah yes, you do neatly emphasise the clumsiness of file transfer, if only directory and suffix separators where interchangeable. Did TT have a German keyboard when he chose _. I do agree that text manipulation is much easier in the QL realm, for example I often want to review files on a drive, thr DOS cmd DIR /s creates a listing with a load of diffusing eatra lines, either in Dillons Editor or with a few lines of SuperBasic is swift but in PC mode near impossible. But for something as an alpha sort of a word list just import into EXCEL. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.15.9/261 - Release Date: 15/02/2006 ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm