We read a short story at school (around 1992 in the UK) which I've always wanted to identify and much googling hasn't gotten me anywhere.
From memory... It had astronauts visiting a planet for the first time. They landed in an abandoned city and as they got out to explore. The city was automated to sense them.
One of the most vivid moments I remember talked about how the smell of the astronauts was drawn through the cobbles in the street where a (mechanical) machine was analysing them to see what type of person (species) they were.
I can't remember the ending but I have a funny feeling they died or were about to die as the city disposed of them and lay in wait for the next visitors but I may have made that part up in my head :-p
It must have been a short story although could also have been a poem. It was short enough that we covered it all in a lesson.
Funny the things you remember :-D
Thank you in advance