Re: Using java process to write file failes
Re: Using java process to write file failes
- Subject: Re: Using java process to write file failes
- From: Sacha Mallais <email@hidden>
- Date: Wed, 7 Sep 2005 13:33:45 -0700
On Sep 7, 2005, at 1:22 PM, Wolfram Stebel wrote:
One issue is remaining:
With the command:
awk -v FS=\" \" '{ total+=$10} END { print total}' myFile
i get error: /usr/bin/awk: non-terminated string ... at source line 1
[snip]
As before, commandline works well...
The lines are separated by "\n".
I cant find any tip for this error.
The error indicates that the record separator is wrong, so maybe
you're in the wrong directory or something and not picking up the
file... Try printing out the file in your Java code. If you can see
the file from within Java, then make sure that the file's lines are
in fact terminated by \n.
HTH,
sacha
--
Sacha Michel Mallais - 400 lb. chimp
Global Village Consulting Inc.: http://www.global-village.net/
Choke on that, causality! -- the Professor, "Futurama"
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden