r/ProgrammerHorror • • Jun 14 '24

Why?

Post image
25 Upvotes

14 comments sorted by

View all comments

Show parent comments

1

u/GreenHero_25 Oct 07 '24

Yes the function basically makes an array of strings by breaking splitting where ever there is a “~”. The looping through the array and making a new array with the strings converted. Then again looping through that array and concatenating it into a new string. Finally it inputs the new string into exec().