bash-shell-to-bat-converter
bash-shell-to-bat-converter copied to clipboard
Converter for bash shell scripts to windows batch files.
O trecho do código dá erro quando tento converter para bat, dá o seguinte erro: parse error: Error: Parse error on line 161: Unexpected 'LESS' ou seja, linha: IFS=',' read...
A portion of my *.sh was this: `TexturePacker --data ../dist/assets/spritesheets/symbols{v}.json` It was converted to this: ``` @echo off TexturePacker "--data" "%CD%.\dist\assets\spritesheets\symbols{v}%CD%json" ``` This looks incorrect in two places. First, at...
JAVA_MAJOR_VERSION=$($JAVA_PATH -version 2>&1 | sed -E -n 's/.* version "([0-9]*).*$/\1/p')
I love this utility it saved me a bunch of work, thank you. I noticed that Linux "export" is converted to Windows "export" and that did not work on Windows...
Hi, I'm trying to convert the following shell script that activates a virtual environment and it doesn't seem to work, but the corresponding error doesn't make sense to me with...
let users share the current state (script input + output) note: for a frontend only solution there might be issues with URL max length - see https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers
`wget https://website.com` is converted to `wget https:/\website.com`
`node lib/cli.js uasp.sh` (script can be found here: https://github.com/kennethrisa/uasp) return: D:\bash-shell-to-bat-converter\node_modules\bash-parser\src\index.js:52 throw new Error(err.stack || err.message); ^ Error: Parse error on line 34: Unexpected 'OPEN_PAREN' at Object.parse [as default] (D:\\bash-shell-to-bat-converter\node_modul...
https://github.com/sqitchers/docker-sqitch/blob/main/docker-sqitch.sh ```sh #!/usr/bin/env bash # Determine which Docker image to run. SQITCH_IMAGE=${SQITCH_IMAGE:=sqitch/sqitch:latest} # Set up required pass-through variables. user=${USER-$(whoami)} passopt=( -e "SQITCH_ORIG_SYSUSER=$user" -e "SQITCH_ORIG_EMAIL=$user@$(hostname)" -e "TZ=$(date +%Z)" \ -e "LESS=${LESS:--R}"...