In a mingw64 shell if one does something like:
program -in /tmp/infile.txt -out /tmp/outfile.txt
it will generally work because somewhere or other this will happen:
/tmp/infile.txt -> C:\progs\msys64\tmp\infile.txt
/tmp/outfile.txt -> C:\progs\msys64\tmp\outfile.txt
That this works so well most of the time makes me complacent.
Unfortunately it isn't a 100% thing. If a program accepts input which
consists of a comma delimited list of files it will fail miserably
because:
program -in /tmp/infile1.txt,/tmp/infile2.txt -out /tmp/outfile.txt
/tmp/infile1.txt -> C:\progs\msys64\tmp\infile1.txt
/tmp/infile2.txt (unchanged)
and the second file will not open because when it hits the windows
pieces they do not know what that string means.
Is there somewhere or other a wrapper function that works in MSYS2's
bash which one can apply to a command like this to force conversion?
Something along these lines:
program -in FILES(/tmp/infile1.txt,/tmp/infile2.txt) -out
/tmp/outfile.txt
or
program -in FILE(/tmp/infile1.txt),FILE(/tmp/infile2.txt) -out
/tmp/outfile.txt
Thanks,
David Mathog
mat...@caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public