If you don't want to spend much, just check some local pawn shops. While I do understand the stance of not buying a crappy guitar, I also understand that tons of people blow big bucks only to lose interest in playing after a few months. Until you're committed to playing, I just think it's irrational to drop several hundred bucks. With a cheap guitar, you can still learn the frets, finger placement, chords, how to tune it, how to restring it, etc. Once you learn all the basics, then you can invest in a quality guitar. Most pawn shops have several to choose from and have no problem letting you play them before purchasing. Just my opinion, but I'd give it at least 6 months because that's usually when people plateau and either keep digging or totally lose interest.
For me, I picked up an electric guitar/amp combo for about $125 at a pawn shop. After playing that for about 6 months, I then decided to get a nice acoustic. Something else I'll suggest is to find someone who plays guitar and take them with you. I took my friend, who's been playing for 15 years, with me and he was able to tell me pros/cons of every guitar we found. It was very helpful.
Good luck OP. When my marriage fell apart, I found a ton of solace with my guitar.