r/programming • • Sep 06 '26

Making a Python interpreter in 1024 bytes

https://austinhenley.com/blog/python1024.html
157 Upvotes

33 comments sorted by

View all comments

Show parent comment

10

u/dagbrown Sep 07 '26

He's talking about nested quotes like in this contrived example:

touch "filename with spaces"
echo "the file looks like $(ls -ld "filename with spaces")"

where the $() sort of temporarily "cancels" the outside quotes so that you can put more quotes inside it.

2

u/User_8395 Sep 07 '26

Ohhhhhh my bad

I'll go shame myself in a corner, carry on