Re: Witango-Talk: line endings

2006-04-13 Thread William M Conlon
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

Re: Witango-Talk: line endings

2006-04-13 Thread Beverly Voth
On 04/12/2006 11:11 PM, "Robert Garcia" <[EMAIL PROTECTED]> wrote in whole or in part: > 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 >

Re: Witango-Talk: line endings

2006-04-12 Thread Robert Garcia
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;kfj

Re: Witango-Talk: line endings

2006-04-12 Thread William M Conlon
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

Re: Witango-Talk: line endings

2006-04-12 Thread John McGowan
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

Witango-Talk: line endings

2006-04-12 Thread William M Conlon
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 _