This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: how to embed shell script within a .BAT file
- From: Eliot Moss <moss at cs dot umass dot edu>
- To: cygwin at cygwin dot com
- Date: Fri, 07 Nov 2014 16:54:25 -0500
- Subject: Re: how to embed shell script within a .BAT file
- Authentication-results: sourceware.org; auth=none
- References: <0D835E9B9CD07F40A48423F80D3B5A702E8379F0 at USA7109MB022 dot na dot xerox dot net> <545D3E21 dot 2030306 at bopp dot net>
- Reply-to: moss at cs dot umass dot edu
Do you really need to embed the script *within* the file?
It would be straightforward to *invoke* a script from the
file by something along the lines of:
bash -c script
in the .bat file ... Eliot Moss
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple