RE: Split input on whitespace

2002-04-04 Thread Bruce Ambraal
This is not working I tried it my output file is still empty. >>> "Timothy Johnson" <[EMAIL PROTECTED]> 04/05/02 12:58AM >>> Add a line like this: print "$k $freq{$k}\n"; After this line: print OUTPUT "$k $freq{$k}\n"; BTW: Seriously, you don't need the if() statement by the increment. --

RE: Split input on whitespace

2002-04-04 Thread Timothy Johnson
Add a line like this: print "$k $freq{$k}\n"; After this line: print OUTPUT "$k $freq{$k}\n"; BTW: Seriously, you don't need the if() statement by the increment. -Original Message- From: Bruce Ambraal [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 3:00 PM To: [EMAIL PROTE

RE: Split input on whitespace

2002-04-04 Thread Mark Anderson
No, you are printing to OUTFILE, which directs the output to "ex92.out". /\/\ark -Original Message- From: Bruce Ambraal [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 3:00 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject

RE: Split input on whitespace

2002-04-04 Thread Timothy Johnson
Because you don't have any print statements to STDOUT? -Original Message- From: Bruce Ambraal [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 2:43 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Split input on whitespace Why does my code not write the splitted words to

RE: Split input on whitespace

2002-04-04 Thread Mark Anderson
The only thing that you are sending to STDOUT is a "\n" for each line of your STDIN. /\/\ark Please don't cross-post. -Original Message- From: Bruce Ambraal [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 2:43 PM To: [EMAIL PROTECTED]; [EMAIL PR