1 Star 0 Fork 0

Kenny小狼 / bash-shell-to-bat-converter

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Simple Bash script to Windows batch file converter

Converts bash scripts (*.sh) to windows batch files (*.bat). This is not supposed to be a fully complete/correct tool, but rather a starting point when converting scripts. For simple scripts this might create correct results.

Try it online: https://daniel-sc.github.io/bash-shell-to-bat-converter/

Usage

Setup:

git clone https://github.com/daniel-sc/bash-shell-to-bat-converter.git
cd bash-shell-to-bat-converter
npm install
npm run tsc

Usage:

node lib/cli.js FILE_TO_CONVERT.sh

This creates FILE_TO_CONVERT.bat.

Contribute

PRs always welcome ;-)

Comments ( 0 )

Sign in for post a comment

About

fork for https://github.com/daniel-sc/bash-shell-to-bat-converter spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/kennylee/bash-shell-to-bat-converter.git
git@gitee.com:kennylee/bash-shell-to-bat-converter.git
kennylee
bash-shell-to-bat-converter
bash-shell-to-bat-converter
master

Search