Is it possible to create a here document by running a script interactively? | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Is it possible to create a here document by running a script interactively?

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-03-2012
snreddy_gopu snreddy_gopu is offline
Registered User
 
Join Date: Dec 2011
Last Activity: 3 October 2013, 11:55 PM EDT
Location: hyderabad/INDIA
Posts: 31
Thanks: 6
Thanked 0 Times in 0 Posts
Is it possible to create a here document by running a script interactively?

hi,

i have script which installs around 20 packages. during installation of each package script will be prompted for user input.

i need to run the script in non-interactive by using here document. is it possible to generate here document by running the script in interactive mode on Solaris?

Thanks,
Satya
Sponsored Links
    #2  
Old 12-03-2012
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 24 November 2014, 12:31 PM EST
Location: NM
Posts: 10,281
Thanks: 288
Thanked 814 Times in 756 Posts
You can use the script command - it will create a file of all of the commands you entered.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
comamnds running interactively, failed in script wrigint nrjrasaxena Shell Programming and Scripting 13 09-25-2012 06:39 PM
Extract xml data and create word document using perl. veerubiji Programming 3 10-18-2011 12:21 PM
extract xml data and create word document using perl. veerubiji Programming 1 10-13-2011 11:01 PM
UNIX Shell Script to Create a Document of a PLSQL code. gauravsachan Programming 1 01-27-2009 03:01 PM
How create a large list of document ids in VI ruben7566 Shell Programming and Scripting 1 04-05-2006 11:16 AM



All times are GMT -4. The time now is 03:56 PM.