Hello everyone I have the following code. bat and I would like to convert it. sh, someone could help me? Thank you.
1) for /F "eol=#" %%i in (%wade-cfg%/boot.properties) do ( set %%i ) 2) for %%F in (%lib%/*.jar) do ( set class-path=!class-path!%lib%/%%~nxF; ) 3) for /f "tokens=*" %%G in ('dir /b /A') DO ( if exist %addons%/%%G/cfg set class-path=!class-path!%addons%/%%G/cfg; )