January 2009
1 post
Running Prince XML in batch mode inside cygwin
I already put this on the forum, but here it is. Useful if you want to work out how to make other console programs run properly from cygwin. Note that is uses Bash shell arrays: #!/bin/bash args=(“$")<br /><br />for (( i = 0 ; i < ${#args[]} ; i++ )) do x=”${args[$i]}” x=”${x//\/cygdrive\/c/c:}” ...