Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic General > Re: How to Remo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 31 of 67 Topic 650 of 682
Post > Topic >>

Re: How to Remove duplicates line in the txt files

by Ted Davis <tdavis@[EMAIL PROTECTED] > Feb 12, 2008 at 06:53 PM

On Tue, 12 Feb 2008 17:17:10 -0600, ArarghMail802NOSPAM wrote:

> On Tue, 12 Feb 2008 14:36:49 -0800 (PST), "news@[EMAIL PROTECTED]
"
> <news@[EMAIL PROTECTED]
> wrote:
> 
> <snip>
>>
>>There are so many misleading statements there I hardly know where to
>>start.  Firstly, string processing is one of BASIC's *strengths*, not a
>>weakness.  After all, BASIC has a native string data type and many
>>built-in string functions, which is more than can be said for C. Using
>>PRINT USING as described is certainly a hack, but I'm quite sure it
could
>>have been done in BASIC without resorting to that approach.
> 
> Not using USING.  However there are certainly other ways.  Way back in
> 1992, I wrote a routine to format ints/longs.  It will even insert
commas
> & periods.
> 
>>Secondly, string formatting in C is achieved entirely by calling
> True in BASIC, also.
> <snip>
> 
>>Lastly, BASIC was designed to be a beginners' language, not a toy
>>language; they are not synonymous.  Early BASICs didn't have the
>>sophistication to be used for complex applications, requiring the
>>programmer, at some point in his career, to abandon BASIC in favor of
>>more 'advanced' languages.  Many modern BASICs have no such limitations,
>>and are quite capable of sup****ting the programmer from his earliest
>>efforts to the largest and most complex applications he might wish to
>>create.
> Yes, quite true.  I don't think that is much you can do in C that you
> can't do in BASIC.  And, *I* generally find BASIC more readable.  But I
> learned in BASIC, first.

Try writing a TSR, or a device driver, or an operating system, or even a
simple .com program.  For a *real* challenge, write a C compiler in BASIC
(you are aware that QBASIC and most compilers, including C compilers, are
written in C, aren't you?).

> 
> If I ever get PRINT USING working in BCET, I will also add a LET USING
> type operation.
> 
> 
> Oh, and as to the OPs original problem, LONG ago I wrote a program to do
> just that:
> 
> C:\>zapdup
> Usage: ZapDup <infile> <outfile> {<len 2 compare>}
>        assumes that infile has been sorted
> 
> Quite trivial, really.

But that's cheating - removing dupes from a *sorted* file is trivial, but
not what was asked for.

-- 

T.E.D. (tdavis@[EMAIL PROTECTED]
) MST (Missouri University of Science and
Technology)
used to be UMR (University of Missouri - Rolla).
 




 67 Posts in Topic:
How to Remove duplicates line in the txt files
midjet <moman@[EMAIL P  2008-02-10 17:46:35 
Re: How to Remove duplicates line in the txt files
Sjouke Burry <burrynul  2008-02-11 00:53:13 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-10 18:56:30 
Re: How to Remove duplicates line in the txt files
"Todd Vargo" &l  2008-02-11 02:43:47 
Re: How to Remove duplicates line in the txt files
Guy Macon <http://www.  2008-02-11 09:29:48 
Re: How to Remove duplicates line in the txt files
ak621@[EMAIL PROTECTED]   2008-02-11 12:36:18 
Re: How to Remove duplicates line in the txt files
"Todd Vargo" &l  2008-02-11 22:01:45 
Re: How to Remove duplicates line in the txt files
midjet <moman@[EMAIL P  2008-02-11 20:35:42 
Re: How to Remove duplicates line in the txt files
foxidrive <gotcha@[EMA  2008-02-12 13:07:20 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-10 18:14:56 
Re: How to Remove duplicates line in the txt files
midjet <moman@[EMAIL P  2008-02-10 20:53:21 
Re: How to Remove duplicates line in the txt files
ak621@[EMAIL PROTECTED]   2008-02-11 12:32:31 
Re: How to Remove duplicates line in the txt files
Luuk <Luuk@[EMAIL PROT  2008-02-11 17:30:42 
Re: How to Remove duplicates line in the txt files
ak621@[EMAIL PROTECTED]   2008-02-12 13:33:40 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-11 19:44:13 
Re: How to Remove duplicates line in the txt files
ak621@[EMAIL PROTECTED]   2008-02-12 13:38:52 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-12 10:08:34 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-12 09:47:35 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-12 11:04:10 
Re: How to Remove duplicates line in the txt files
ak621@[EMAIL PROTECTED]   2008-02-12 18:16:28 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-12 13:40:10 
Re: How to Remove duplicates line in the txt files
"Auric__" <n  2008-02-12 23:14:54 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-12 19:34:37 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-12 23:57:10 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-13 00:02:50 
Re: How to Remove duplicates line in the txt files
ak621@[EMAIL PROTECTED]   2008-02-12 18:13:20 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-12 13:43:22 
Re: How to Remove duplicates line in the txt files
ak621@[EMAIL PROTECTED]   2008-02-18 14:21:46 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-12 19:07:24 
Re: How to Remove duplicates line in the txt files
ArarghMail802NOSPAM@[EMAI  2008-02-12 17:17:10 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-12 18:53:50 
Re: How to Remove duplicates line in the txt files
ArarghMail802NOSPAM@[EMAI  2008-02-12 21:02:12 
Re: How to Remove duplicates line in the txt files
ArarghMail802NOSPAM@[EMAI  2008-02-13 05:11:46 
Re: How to Remove duplicates line in the txt files
ArarghMail802NOSPAM@[EMAI  2008-02-13 15:31:28 
Re: How to Remove duplicates line in the txt files
ArarghMail802NOSPAM@[EMAI  2008-02-13 18:02:15 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-12 19:24:01 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-12 23:37:02 
Re: How to Remove duplicates line in the txt files
Vic Drastik <user@[EMA  2008-02-13 19:58:24 
Re: How to Remove duplicates line in the txt files
ArarghMail802NOSPAM@[EMAI  2008-02-13 05:12:59 
Re: How to Remove duplicates line in the txt files
ArarghMail802NOSPAM@[EMAI  2008-02-12 23:02:48 
Re: How to Remove duplicates line in the txt files
Happy Trails <nomail@[  2008-02-14 15:50:19 
Re: How to Remove duplicates line in the txt files
foxidrive <gotcha@[EMA  2008-02-14 20:57:45 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-14 08:19:34 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-14 10:01:40 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-14 15:14:50 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-14 23:09:23 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-15 08:31:26 
Re: How to Remove duplicates line in the txt files
Jon Ripley <no.more@[E  2008-02-15 15:27:09 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-15 15:35:34 
Re: How to Remove duplicates line in the txt files
foxidrive <gotcha@[EMA  2008-02-16 15:34:10 
Re: How to Remove duplicates line in the txt files
"Tom Lake" <  2008-02-15 12:56:29 
Re: How to Remove duplicates line in the txt files
Esra Sdrawkcab <admin@  2008-02-15 19:19:16 
Re: How to Remove duplicates line in the txt files
Adam <no@[EMAIL PROTEC  2008-02-15 13:05:20 
Re: How to Remove duplicates line in the txt files
"Stephen J. Rush&quo  2008-02-12 12:46:54 
Re: How to Remove duplicates line in the txt files
"Auric__" <n  2008-02-12 23:24:58 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-12 19:29:09 
Re: How to Remove duplicates line in the txt files
ak621@[EMAIL PROTECTED]   2008-02-18 14:29:17 
Re: How to Remove duplicates line in the txt files
Derek <derekrss@[EMAIL  2008-02-13 22:36:32 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-14 08:00:58 
Re: How to Remove duplicates line in the txt files
ppnerkDELETETHIS@[EMAIL P  2008-02-14 14:51:33 
Re: How to Remove duplicates line in the txt files
"Stephen J. Rush&quo  2008-02-14 19:56:18 
Re: How to Remove duplicates line in the txt files
Ted Davis <tdavis@[EMA  2008-02-15 08:28:34 
Re: How to Remove duplicates line in the txt files
Derek <derekrss@[EMAIL  2008-02-15 19:47:07 
Re: How to Remove duplicates line in the txt files
ppnerkDELETETHIS@[EMAIL P  2008-02-16 09:48:51 
Re: How to Remove duplicates line in the txt files
Derek <derekrss@[EMAIL  2008-02-18 10:21:09 
Re: How to Remove duplicates line in the txt files
ak621@[EMAIL PROTECTED]   2008-02-26 14:38:23 
Re: How to Remove duplicates line in the txt files
"Todd Vargo" &l  2008-02-11 02:43:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 22:32:33 CDT 2008.