Let's say I have this simple script file try.script
write 1 write 0
I can execute it in a terminal (csession) by calling:
csession cache < try.script
And I get the following output:
However I want to use a try catch block in my script:
But as script is executed line by line, it's interpreted like this:
I know that I can write it all in 1 line, but I'd rather not do that. Is there a way to feed multiline statement into Cache?
.png)


.png)




