Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
So today I was trying to get a java program to run in Linux that needed a bat file to run in Windows. I was looking at the file and didn't know what it would take to do all the commands in Linux. So I said fuck it and had my chatgpt account do the conversion. It actually did it perfectly and replaced Windows specific commands with Linux equivalents. It reworked the data and set environment variables correctly. It also ran the java program.
Unfortunately I think the Java program had made assumptions about the environment and used hard coded Windows style paths. Rather than using some paths in a filesystem generic way. So it just excepted when trying to read files that were there, but had wrong slash in filename.
It was a good test though. I may have chatgpt take a whack at other scripts I don't want to take the time to look up syntax.
rant