01-30-2006
How to generate a configuration file easily and effectively?
Hello Unix Gurus,
I have a query , like how to generate a configuration file easily using unix shell scripts?,
I have set of parameters (based on the test that user wishes to run) for which user needs enter their input, so that a config file gets generated based on their input before running the test.
Can u people suggest me a suitable way to do it in Unix shell script? , will it be effective if done through command line? r should I go for UNIX GUI using dialog?, thing is my script should work fine on linux and solaris.
did anyone had any experience in generating a config file ?
Please share ur experiences which will be prove to invaluable for me!!!!
Thanks in advance,
Partha
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm new to Unix.I use HP - Unix. I was wondering if anybody , could tell me how to include a 'Subject' section when sending mails to Microsoft Outlook?.
I know a small amount about posix scripting, sed, awk,so don't hesitate to contact me and I'll help you if I can.
Regards
Mark (2 Replies)
Discussion started by: mwright
2 Replies
2. UNIX for Dummies Questions & Answers
I am uploading files that need to be processed prior to uploading. I will put the files in a directory. My question is how can I write an easy process to kick off a script once a file has been added? Is there an easy way to determine if a file has been added to a directory?
Thanks (1 Reply)
Discussion started by: goodmis
1 Replies
3. UNIX for Advanced & Expert Users
I am uploading files that need to be processed prior to uploading. I will put the files in a directory. My question is how can I write an easy process to kick off a script once a file has been added? Is there an easy way to determine if a file has been added to a directory?
Thanks (7 Replies)
Discussion started by: goodmis
7 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I have a excel file which has almost ten columns on the shared drive. I have to write a shell script to ftp that daily to unix server and then extract some columns from there and generate oracle standard text file. The columns should be in proper order and aligned properly, otherwise... (1 Reply)
Discussion started by: isingh786
1 Replies
5. Shell Programming and Scripting
Hi Scripting Gurus,
I am trying to parse a csv file and generate a new output file.
The input file will be a variable length in turns of rows and columns.
output file will have 8 columns. we have three columns from the header for each set.
just to give little bit more clarification each row... (15 Replies)
Discussion started by: vkr
15 Replies
6. Shell Programming and Scripting
Hi All,
I have a file like below, how can i insert one line after line 1 without using a temporary file in perl?
line 1
line 2
line 3
expected result
line 1
new line <---insert here
line 2
line 3 (2 Replies)
Discussion started by: summer_cherry
2 Replies
7. Shell Programming and Scripting
hi,
file1.txt:
cell101 1 20.24.1.1 10
cell101 2 20.24.1.2 20
cell101 3 20.24.1.3 30
cell327 1 20.24.1.4 40
cell327 2 20.24.1.5 50
cell327 3 20.24.1.5 60
...
file2.txt:
cell101 1
cell327 1
cell327 3
...
according to values in file2.txt, the script should search lines and get... (7 Replies)
Discussion started by: gc_sw
7 Replies
8. Shell Programming and Scripting
Hi guys,
i have a file in below format.let me explain first what i am trying to do .
i am making a file from this file , will rearrange these columns, then i will run several command(start/stop mentioned in this file) on unix environment. my requirements :
1. i have 27 servers , on each server... (4 Replies)
Discussion started by: deepakiniimt
4 Replies
9. Shell Programming and Scripting
Dear Members,
I have a table in Oracle DB and one of its column name is INFO which has data in text format which we need to fetch in a script and create an xml file of a new table from the input.
The contents of a single cell of INFO column is like:
Area:app - aam
Clean Up Criteria:... (0 Replies)
Discussion started by: Yoodit
0 Replies
10. Shell Programming and Scripting
hi all i want a script to FTP a file and should generate a quality checksum file
means when I FTP a file from one server to another server it should generate a QC file which should contain timestamp,no.of records in that file
Thanks in advance
saikumar (3 Replies)
Discussion started by: hemanthsaikumar
3 Replies