• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using java process to write file failes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Using java process to write file failes (From: Wolfram Stebel <email@hidden>)

  • Prev by Date: Re: Using java process to write file failes
  • Next by Date: Re: Unable to write file (java file creation)
  • Previous by thread: Re: Using java process to write file failes
  • Next by thread: Unable to write file (java file creation)
  • Index(es):
    • Date
    • Thread