No, develop on OSX, deploy on linux.
The file action was taking a text blob from a SQL SELECT and writing
it to a tmp file.
The TEXT BLOB originated in a textarea field in a browser, so I
suppose DOS line endings could have been introduced there, except the
form was entered in firefox on Mac, and the input was copied from a
unix text file with unix line endings.
Anyway, sed did the trick to clean up the file.
Biggest problem was figuring out why the unix source file would work,
but not the tmp file written by witango. I finally used diff and
every line was different!
On Apr 12, 2006, at 8:11 PM, Robert Garcia wrote:
did you create the taf in windows witango studio? When you create
the taf in windows, it will put crlf in the write action when you
hit return. To avoid, don't hit return in the write action, and
specify the line endings you want.
myline of text<@char 10>mysecondlineoftext <@char 10> al;kfjd;lkjf
my third line of text<@char 10>
and so on, do all on one line in the write action.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On Apr 12, 2006, at 10:21 AM, William M Conlon wrote:
I'm running Witango 5 on Fedora 4, and writing a file. For some
reason the file gets DOS line endings.
Is there a switch to control DOS vs. Unix line breaks?
Or do I have run a separate shell script to cleanup output from
witango?
thanks.
Bill
_____________________________________________________________________
___
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
Bill
William M. Conlon, P.E., Ph.D.
To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306
vox: 650.327.2175 (direct)
fax: 650.329.8335
mobile: 650.906.9929
e-mail: mailto:[EMAIL PROTECTED]
web: http://www.tothept.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf