11-17-2017
There are lots of missing pieces of information that are crucial if you want us to help you:
- What operating system are you using?
- How is your script supposed to determine which pairs of files you want to process?
- After running your database query, what is the format of the contents of getsequence.txt?
- What files are present in the directory in which this script will be run?
- Are we correct in assuming that you are only interested in what happens when the user types in 1 when read_options runs?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys..
I need a solution for these two questions... Plz help me...
1)How can you load multiple files in a script ?
2)How do you get a process Id for multiple files in a shell script ? (3 Replies)
Discussion started by: mraghunandanan
3 Replies
2. Shell Programming and Scripting
Hi,
#!/bin/ksh
result='/TIA/app/UniQP/queue/document/CSB'
i=0;
while ;
do
i=`expr $i + 1`
if ($i -lt 5);then
echo "THerrFile_$i.err";
else
break;
fi
done
... (0 Replies)
Discussion started by: sudhir_83k
0 Replies
3. Shell Programming and Scripting
Hi there im totally new to shell scripting and i find it very interesting. I come from java programming background.
Basically what i need is to loop a string of say all possible permutations of 20 displayable characters and md5 hash the string till it produces a 128 bit hash value with say 4... (17 Replies)
Discussion started by: jremio
17 Replies
4. Shell Programming and Scripting
I have the below code for ftping a file
sftp "ogl@serverna,me"ogl@serverna,me <<EOF
cd $path_on_the_server
binary
put $path_on_my_sever/filename.txt
bye
EOF
Not sure is this works.but when i tried its asking for password .How i can avoid asking password and provide it in the... (5 Replies)
Discussion started by: shyamrad
5 Replies
5. Shell Programming and Scripting
HI friends , i am also facing an issue in mysql
i ma trying to insert detail in a variable but not got success
#!/bin/sh
mysql -u<username> -p<password> <dbname> << EOF
DEV=`mysql --skip-column-names <dbname> -e "SELECT timestamp from process_record where id = 1"`
EOF
echo $DEV
ERROR... (3 Replies)
Discussion started by: sanjay833i
3 Replies
6. Shell Programming and Scripting
Hi
I have a requirement where in I need to check 103,104,105 letters in each line and if it equal to MAS then I need to copy the whole line (Till End) to a file.
In case if there are 10 lines, all these lines must be copied to a file.
Can you please help me with script. (1 Reply)
Discussion started by: krishna87
1 Replies
7. UNIX for Dummies Questions & Answers
Hi
I have a requirement where in I need to check 103,104,105 letters in each line and if it equal to MAS then I need to copy the whole line (Till End) to a file.
In case if there are 10 lines, all these lines must be copied to a file.
Can you please help me with script. (1 Reply)
Discussion started by: krishna87
1 Replies
8. Shell Programming and Scripting
I have written the below query to genrate a telephone.I am passing account number from oracle database.
I am calling 2 scripts which generate the bill
1. bip.sh (it runs in the background)
2.runXitInvoice_PROFORMA_integ
bip.sh generates a number which runXitInvoice_PROFORMA_integ
uses.How... (7 Replies)
Discussion started by: rafa_fed2
7 Replies
9. Shell Programming and Scripting
Hi guys,
I am creating a script that checks if a service is UP and running on a bunch of remote servers.
My list of servers is:
p2 runtime1 8080
p3 runtime2 8080
p4 runtime3 8080
p5 runtime4 8080
p6 runtime5 8080
p7 runtime6 8080
p8 runtime7 8080
p9 runtime8 8080
p10 runtime9 8080... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies
10. Shell Programming and Scripting
Hi Friends ,
good morning . I am very new to Unix scripting and require a bit of advice to help resolve the below issue . Hope some one can provide some suggestion
I have the below script which calls a Oracle stored procedure which inturn extracts data from a table and writes in a ascii... (4 Replies)
Discussion started by: J1nx007
4 Replies