thx John,

I'm just using

sed  -e 's/.$//'

to convert line endings and then piping it along, in my case to openssl, for making a button for paypal. Funky line endings can be coming in via some web input in a textarea, but most likely in the File Write action, since my input has come from a unix (Mac browser).

I finally have working buttons, but my TCF isn't as general as I wanted, as something else is going on with passing arguments to my shell script.

But good enough for now.


On Apr 12, 2006, at 11:41 AM, John McGowan wrote:

bill,

there is usually a *nix program called dos2unix that will do that.

or you can use something (ant) to process the files before you copy them to the server like I do.

Typically I haven't had problem with Witango files and their line endings, until recently... The Witango 5.5. studio does something odd with line endings for code inside of direct_dbms actions which makes them kinda disappear the next time you edit the file.

/John

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

Reply via email to