Script used to create another script | Unix Linux Forums | Shell Programming and Scripting

  Unix/Linux Go Back    


Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.

Script used to create another script

Shell Programming and Scripting


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-19-2013
Junaid Subhani Junaid Subhani is offline
Registered User
 
Join Date: Aug 2012
Last Activity: 26 February 2015, 1:49 PM EST
Posts: 127
Thanks: 25
Thanked 2 Times in 2 Posts
Wrench Script used to create another script

Hi guys .

I want to create a script for POST INSTALLATION for new machines being deployed in my Data Center.
I want to create a script post_install.sh that further creates a new script(s) that are essential for system connectivity e.g. mails etc to other systems.

How can I achieve this ?

Regards
Sponsored Links
    #2  
Old Unix and Linux 01-19-2013
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 1 April 2015, 12:52 PM EDT
Location: Switzerland - GE
Posts: 6,025
Thanks: 182
Thanked 452 Times in 423 Posts
I dont know how you expect your script to be intelligent enough to guess what to put in it ... And if you know you want in it what is stopping you to write the script and call the second from the first.
If because you are missing values that come from the first then it is just a question of passing them as argument to the second
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
CGI Perl script to execute bash script- unable to create folder rakeshkumar Programming 0 07-19-2012 03:10 AM
Bash: How can a script create a script? LessNux Shell Programming and Scripting 3 03-06-2012 09:30 AM
Help Create dynamic ksh script from a script pcpinkerton Shell Programming and Scripting 0 02-19-2012 12:42 PM
Create script to add user and create directory pbhound Homework & Coursework Questions 12 04-01-2011 09:02 AM
create a shell script that calls another script and and an awk script magikminox Shell Programming and Scripting 0 06-26-2008 02:50 AM



All times are GMT -4. The time now is 05:43 AM.