Re: Count rows in textfile

2002-07-04 Thread Nils Höglund
Can we find how much roe is in a fish without opening it? x-ray -- /Nils Höglund, Naqua KB E-mail: [EMAIL PROTECTED] Web:http://www.naqua.se/ Home Phone: +46 (0)18 30 09 19 Cellular Phone: +46 (0)709 91 97 65 Address:Nya Valsätrav. 26 B

Re: Count rows in textfile

2002-07-04 Thread Bunyamin Karadeniz
You can do it easily with AWK awk -f myawk1 /dir1/masters.txt source of myawk1 is : BEGIN { } END {print there are ,NR, lines } Bunyamin - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 9:03 PM My wife recently bought a

Re: Count rows in textfile

2002-07-04 Thread Alexandre Gorbatchev
That's called estimation. add 10% for the ones that are asleep... -Original Message- Sent: Wednesday, July 03, 2002 12:33 PM To: Multiple recipients of list ORACLE-L Count the eyes and divide by 2... - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL

RE: Count rows in textfile

2002-07-04 Thread Farnsworth, Dave
Title: RE: Count rows in textfile Or Jared is busy signing copies of his Perl book. ;o) Dave -Original Message-From: Igor Neyman [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 03, 2002 4:22 PMTo: Multiple recipients of list ORACLE-LSubject: Re: Count rows in textfile I

RE: Count rows in textfile

2002-07-04 Thread Farnsworth, Dave
recipients of list ORACLE-L Subject:RE: Count rows in textfile We are all missing the point. Without opening the file, it must be observed from the outside. As such, from this observation point, it contains no rows. Thus, the method is irrelevant as the answer will always

Re: Count rows in textfile

2002-07-04 Thread Jared Still
Nah, just too busy too deal with it right now. :0 Jared On Thursday 04 July 2002 06:18, Farnsworth, Dave wrote: Or Jared is busy signing copies of his Perl book. ;o) Dave -Original Message- Sent: Wednesday, July 03, 2002 4:22 PM To: Multiple recipients of list ORACLE-L I

Re: Count rows in textfile

2002-07-03 Thread Nils Höglund
Anyone whom has a good example on how to check how many rows (without opening the file) does a text file consists of? What is the command? I don't know about without opening the file. However, you can use the utility 'wc' with the -l flag to count rows in a file. The syntax is: wc -l

RE: Count rows in textfile

2002-07-03 Thread Hately Mike
Roland wc -l filename (assuming you're in unix) Mike Hately -Original Message- Sent: 03 July 2002 09:43 To: Multiple recipients of list ORACLE-L Anyone whom has a good example on how to check how many rows (without opening the file) does a text file consists of? What is the

RE: Count rows in textfile

2002-07-03 Thread John . Hallas
Try the following which will give the number of line in the file cat filename | wc -l HTH John -Original Message- Sent: 03 July 2002 09:43 To: Multiple recipients of list ORACLE-L Anyone whom has a good example on how to check how many rows (without opening the file) does a text

Re: Count rows in textfile

2002-07-03 Thread Tim Bunce
On Wed, Jul 03, 2002 at 01:53:25AM -0800, [EMAIL PROTECTED] wrote: Try the following which will give the number of line in the file cat filename | wc -l You might find this interesting: http://www.ling.helsinki.fi/~reriksso/unix/award.html#cat :-) Tim. -- Please see the official

Re: Count rows in textfile

2002-07-03 Thread Igor Neyman
Roland, How about counting black cats in the dark room without turning on the light? Igor Neyman, OCP DBA [EMAIL PROTECTED] - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 4:43 AM Anyone whom has a good example on how

RE: Count rows in textfile

2002-07-03 Thread Jerry Hess
Roland, under Unix you can use the Word Count(wc) command. Type in wc -l filename. -Original Message- Sent: Wednesday, July 03, 2002 10:18 AM To: Multiple recipients of list ORACLE-L Roland, How about counting black cats in the dark room without turning on the light? Igor Neyman,

RE: Count rows in textfile

2002-07-03 Thread Michael Cupp
Try wc txtfilename It will return # of Chars, # of Words, # of lines -Original Message- Sent: Wednesday, July 03, 2002 4:43 AM To: Multiple recipients of list ORACLE-L Anyone whom has a good example on how to check how many rows (without opening the file) does a text file consists of?

Re: Count rows in textfile

2002-07-03 Thread Daniel Wisser
hi roland! if you're on unix and have bash use $ wc which has a lot of super options, see -- $ man wc i think it's the same on ksh too, but am not sure. if you're on w3, i would either install cygwin, then use can use bash, too, or write a little perl script daniel [EMAIL PROTECTED]

RE: Count rows in textfile

2002-07-03 Thread Jared . Still
] cc: Subject:RE: Count rows in textfile Try the following which will give the number of line in the file cat filename | wc -l HTH John -Original Message- Sent: 03 July 2002 09:43 To: Multiple recipients of list ORACLE-L Anyone whom has a good example on how

Re: Count rows in textfile

2002-07-03 Thread Nils Höglund
How about counting black cats in the dark room without turning on the light? You'll probobly see the reflextions of the cats eyes, even in the dark. 1) Count the number of eyes you see. 2) Divide that number in two. Very easy. :) -- /Nils Höglund, Naqua KB E-mail: [EMAIL

Re: Count rows in textfile

2002-07-03 Thread Rachel Carmichael
gee, for simplicity's sake, I usually just count tails :) --- Tim Gorman [EMAIL PROTECTED] wrote: Count the eyes and divide by 2... - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 9:18 AM Roland, How about

Re: Count rows in textfile

2002-07-03 Thread Tim Gorman
Count the eyes and divide by 2... - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 9:18 AM Roland, How about counting black cats in the dark room without turning on the light? Igor Neyman, OCP DBA [EMAIL PROTECTED]

Re: Count rows in textfile

2002-07-03 Thread Yechiel Adar
No problem. Just use infra red glasses. Question: What are infra red glasses? Where can I get one. Can someone give me an example? :-))) Yechiel Adar Mehish - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 5:18 PM Roland,

RE: Count rows in textfile

2002-07-03 Thread Michael Cupp
What if they're one eyed cats? -Original Message- Sent: Wednesday, July 03, 2002 1:33 PM To: Multiple recipients of list ORACLE-L Count the eyes and divide by 2... - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002

RE: Count rows in textfile

2002-07-03 Thread April Wells
add 10% for the ones that are asleep... -Original Message- Sent: Wednesday, July 03, 2002 12:33 PM To: Multiple recipients of list ORACLE-L Count the eyes and divide by 2... - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July

RE: Count rows in textfile

2002-07-03 Thread Toepke, Kevin M
try surfing to shopping.yahoo.com and search for infra red glasses (without the quotes) and you'll see a variety of products. May I recommend that you instead get night vision goggles (search for night vision goggles) Most of the better ons have built-in IR illumination that allows you to see in

RE: Count rows in textfile

2002-07-03 Thread kkennedy
My wife recently bought a book called Unix for Dummies. I'm sure it documents the command you need if you are using any flavor of Unix. For Micromonopoly operating systems, either get a Unix shell emulator such as cygwin or find a Microsoft Press book and see what it says. Of course, any

RE: Count rows in textfile

2002-07-03 Thread Ji, Richard
You are assuming: 1) All cats are looking at you. 2) They all sitting still. 3) None of them are alseep. :) -Original Message- Sent: Wednesday, July 03, 2002 1:33 PM To: Multiple recipients of list ORACLE-L How about counting black cats in the dark room without turning on the

RE: Count rows in textfile

2002-07-03 Thread kkennedy
: Subject:RE: Count rows in textfile Try the following which will give the number of line in the file cat filename | wc -l HTH John -Original Message- Sent: 03 July 2002 09:43 To: Multiple recipients of list ORACLE-L Anyone whom has a good example on how to check how

RE: Count rows in textfile

2002-07-03 Thread Scott . Shafer
Roland, Just go ahead and open the file. You know you want to. We both know that it would be soo satisfying to just take a peek inside, right? That way you can count lines. I'm sure you can handle up to ~20 or so with your zipper up, right? No one needs to know... Scott Shafer San

RE: Count rows in textfile

2002-07-03 Thread Post, Ethan
PROTECTED] cc: Subject:RE: Count rows in textfile Try the following which will give the number of line in the file cat filename | wc -l HTH John -Original Message- Sent: 03 July 2002 09:43 To: Multiple recipients of list ORACLE-L Anyone whom has a good example

Re: Count rows in textfile

2002-07-03 Thread Johan Hermansson
On Wed, Jul 03, 2002 at 03:43:20AM -0800, Tim Bunce wrote: You might find this interesting: http://www.ling.helsinki.fi/~reriksso/unix/award.html#cat :-) Ooh, that one is going into my bookmarks. :-) -- Johan Hermansson +46-(0)709-919763 Naqua KB[EMAIL PROTECTED]

RE: Count rows in textfile

2002-07-03 Thread Whittle Jerome Contr NCI
Title: RE: Count rows in textfile If the room is dark, you may need to step on tails and count the YRss you hear. Of course, duplicates could still be a problem. Jerry Whittle ACIFICS DBA NCI Information Systems Inc. [EMAIL PROTECTED] 618-622-4145 -Original

RE: Count rows in textfile

2002-07-03 Thread Grabowy, Chris
Look folks, just setup your claymore mine, fire it, and then you can count the cat hearts with your Rambo knife...it's easy. -Original Message- Sent: Wednesday, July 03, 2002 2:44 PM To: Multiple recipients of list ORACLE-L add 10% for the ones that are asleep... -Original

Re: Count rows in textfile

2002-07-03 Thread Igor Neyman
in the dark? :-) Igor Neyman, OCP DBA [EMAIL PROTECTED] - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 1:58 PM gee, for simplicity's sake, I usually just count tails :) --- Tim Gorman [EMAIL PROTECTED] wrote:

RE: Count rows in textfile

2002-07-03 Thread Fink, Dan
Ah, but what if some of the cats are the tailless kind (Manx?) -Original Message- Sent: Wednesday, July 03, 2002 11:59 AM To: Multiple recipients of list ORACLE-L gee, for simplicity's sake, I usually just count tails :) --- Tim Gorman [EMAIL PROTECTED] wrote: Count the eyes and

RE: Count rows in textfile

2002-07-03 Thread Fink, Dan
Title: RE: Count rows in textfile We are all missing the point. Without opening the file, it must be observed from the outside. As such, from this observation point, it contains no rows. Thus, the method is irrelevant as the answer will always be 'NONE'. -Original Message-From

Re: Count rows in textfile

2002-07-03 Thread Henry Poras
Can we find how much roe is in a fish without opening it? - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 1:58 PM gee, for simplicity's sake, I usually just count tails :) --- Tim Gorman [EMAIL PROTECTED] wrote:

Re: Count rows in textfile

2002-07-03 Thread Nils Höglund
if you're on unix and have bash use $ wc Actually wc isn't a part of the bash-shell, but an independent program. -- /Nils Höglund, Naqua KB E-mail: [EMAIL PROTECTED] Web:http://www.naqua.se/ Home Phone: +46 (0)18 30 09 19 Cellular Phone: +46 (0)709 91 97 65

RE: Count rows in textfile

2002-07-03 Thread Michael Cupp
X-ray? -Original Message- Sent: Wednesday, July 03, 2002 4:26 PM To: Multiple recipients of list ORACLE-L Can we find how much roe is in a fish without opening it? - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002

Re: Count rows in textfile

2002-07-03 Thread Johan Hermansson
On Wed, Jul 03, 2002 at 12:26:13PM -0800, Fink, Dan wrote: We are all missing the point. Without opening the file, it must be observed from the outside. As such, from this observation point, it contains no rows. Thus, the method is irrelevant as the answer will always be 'NONE'. Why is it it

RE: Count rows in textfile

2002-07-03 Thread Whittle Jerome Contr NCI
Title: RE: Count rows in textfile Something like Schrodinger's Cat! Jerry Whittle ACIFICS DBA NCI Information Systems Inc. [EMAIL PROTECTED] 618-622-4145 -Original Message- From: Fink, Dan [SMTP:[EMAIL PROTECTED]] We are all missing the point. Without opening the file

RE: Count rows in textfile

2002-07-03 Thread Farnsworth, Dave
What is zipper? -Original Message- [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 1:54 PM To: Multiple recipients of list ORACLE-L Roland, Just go ahead and open the file. You know you want to. We both know that it would be soo satisfying to just take a peek inside,

Re: Count rows in textfile

2002-07-03 Thread Igor Neyman
Title: RE: Count rows in textfile I guess, Jared allows this thread to continue only because it's pre-holiday :-) Igor Neyman, OCP DBA[EMAIL PROTECTED] - Original Message - From: Whittle Jerome Contr NCI To: Multiple recipients of list ORACLE-L Sent: Wednesday

RE: Count rows in textfile

2002-07-03 Thread Stahlke, Mark
- From: Fink, Dan [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 2:26 PM To: Multiple recipients of list ORACLE-L Subject:RE: Count rows in textfile We are all missing the point. Without opening the file, it must be observed from

RE: Count rows in textfile

2002-07-03 Thread Ji, Richard
Title: RE: Count rows in textfile He is probably on holiday already. :) -Original Message-From: Igor Neyman [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 03, 2002 5:22 PMTo: Multiple recipients of list ORACLE-LSubject: Re: Count rows in textfile I guess, Jared allows

RE: Count rows in textfile

2002-07-03 Thread Orr, Steve
ORACLE-L Subject:RE: Count rows in textfile We are all missing the point. Without opening the file, it must be observed from the outside. As such, from this observation point, it contains no rows. Thus, the method is irrelevant as the answer will always be 'NONE

RE: Count rows in textfile

2002-07-03 Thread Jesse, Rich
, Sussex, WI USA -Original Message- From: Johan Hermansson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 3:39 PM To: Multiple recipients of list ORACLE-L Subject: Re: Count rows in textfile On Wed, Jul 03, 2002 at 12:26:13PM -0800, Fink, Dan wrote: We are all missing

Re: Count rows in textfile

2002-07-03 Thread Henry Poras
I think it has to do with Access.??? - Original Message - To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 5:07 PM What is zipper? -Original Message- [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 1:54 PM To: Multiple

RE: Count rows in textfile

2002-07-03 Thread Jeremy Bainbridge-Smith
Title: RE: Count rows in textfile If you're using Unix, try: cat filename | wc -l Cheers Jeremy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 3 July 2002 8:43 PM To: Multiple recipients of list ORACLE-L Subject: Count rows in textfile