|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Redirecting
all right here is what i need help is creating a data base shell script.. what i want it do do is bascially echo "What is your name" and it to read $ANSWER and re-direct in into a text file called db1. but i want to add more stuff like 1st and last name, address, city state zip, and add the command $RANDOM to create like a locator number and i would like it to appear like this
Jim Smith 458 S. chicago ave new york, new york, 58996 45855 (locator #) if anyone can help id appriciate it. Im still a newbie at this.. |
|
#2
|
||||
|
||||
|
What operating system?
What language do you want to use?
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
|||
|
|||
|
O/S & Lanunage
Quote:
i use suse 10.1 and i use the vim.. |
|
#4
|
||||
|
||||
|
VIM is not a language.
|
|
#5
|
|||
|
|||
|
Got it but thanks
sry bout the launage thing i was really tired last night... it was bash n e way but i figured it out i used the echo command and redirected it.. i.e.
echo $ANSWER >> /home/path/path/text file.. and that seemed to do the trick (which is kind of sad because it took me hours on hours to figure it out... feel like a jack ***) but it is cool all you were willing to help.. THANKS again ~~~zezo~~ |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Redirecting |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|