source:
trunk/anuga_work/anuga_cuda/src/scripts/read.sh
@
9334
Last change on this file since 9334 was 9017, checked in by , 12 years ago | |
---|---|
|
|
File size: 274 bytes |
Rev | Line | |
---|---|---|
[9017] | 1 | #!/bin/bash |
2 | #Program: | |
3 | # use 'read' command to get users' name and print out | |
4 | #History: | |
5 | #2012/10/02 YuanZheCSYZ First release | |
6 | ||
7 | read -p "Please input your first name:" firstname | |
8 | read -p "Please input your last name:" lastname | |
9 | echo -e "\nYou full name is: $firstname $lastname" |
Note: See TracBrowser
for help on using the repository browser.