Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
First of all, I would like to thank the folks posting here.. I have learned a lot.
Now to my next issue -
I am trying to create a script that will prompt a user with 7 questions. The answer needs to be appended to a file called changelog.txt.Question 1 is: How many jobs did you change?
Question 2 is: What is/are the jobname(s)?
Question 3 is: Date of change:
Question 4 is: What is the CR number?
Question 5 is: Was this an Add, Change, or Delete?
Question 6 is: Date of first run is:
Question 7 is: Give a brief description of the change:
If possible, I would like to append the answers in line format.. Answer 1 should be in field #1, Answer 2 should be in field #2, and so on.
Thanks again! BTW I am using ksh.
Big Z

read R1?"How many jobs did you change? "
read R2?"What is/are the jobname(s)? "
. . . .
read R7?"Give a brief description of the change: "echo "$R1;$R2;$R3;$R4;$R5;$R6;R7" >> changelog.txt
Jean Pierre.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |