I’m about to implement a sort of parser, which starts by taking an entire DAT and converting it to a single string, then echos it
and the script that called it will then go through all the args in that very long string (as I don’t need to worry about carriage returns and want to allow the user to write on any line)
I know in houdini there used to be this silly 255 chars limitation on strings lenght upon which I’ve banged my head suddendly at some point, or command line length, can’t remember exactly.
Is there such a thing in Touch or can I go ahead and be confident that if I echo “$mystring_20000_characters_long” it will work?
This was a command line limit. This was present in touch as well, but Rob? gave this some more headroom about a year ago. Don’t remember any numbers, maybe you can find it in the release notes (might be 033 or 044).
Generally if I need to send large amounts of text from another app I write it to a txt file and read it into DATs …