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.
--
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
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
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
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