A message for Linux.com registered users: We are in the process of making changes to the Linux forums. From Monday, 8/13/18 at 6:00 PM PT to Tuesday, 8/14/18 at 4:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Tuesday, 8/14/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

June 3, 2009

Reading Users Guide, script don't run???

Forums: 

#!/bin/sh
echo "Hi there"
echo "What is your name? Rob"
read NM Rob
echo "Hello $NM"

The book is a bit dated and wondered if the read command syntax changed a bit for bash shell?
I get the first two lines but don't get the hello rob part.

Click Here!