When i pass name = a.txt, then ls should take a.txt as input and provide correct output.
This is not happening. Tried all possible combinations of quotes. I am a Ruby novice so plz excuse my naivety.
puts "Enter name: "
name = gets
name.chomp!
puts `ls + name`