10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Not able to sorting two fileds resolved printf issue
01-1000/9|JAN
01-0000/6|MAN
01-1010/2|JAN
01-1010/2|JAN
01-1010/2|JAN
01-1000/9|JAN
01-1000/9|JAN
01-1000/9|SAA
01-1000/9|SAA
01-0000/6|SAN
01-0000/6|SAN
1.sort -t'|' -k1,1n -k2,2 file (3 Replies)
Discussion started by: kalia4u
3 Replies
2. AIX
hello, i am running an AIX6.1 machine and i am trying to restore a volume group that i backed up using mkvgdata command from another server. although i checked file .data and i make sure that PP size for this volume group is 128, when i run restvg command to restore it, it fails because it... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
3. Shell Programming and Scripting
I have a file containing multiple values, some of them are pipe separated which are to be read as separate values and some of them are single value all are these need to store in variables.
I need to read this file which is an input to my script
Config.txt
file name, first path, second... (7 Replies)
Discussion started by: ketanraut
7 Replies
4. Shell Programming and Scripting
Hi,
I have a String(words with tab space) in a file ->file1.txt
0xxxx 11 test $aa$ 8.43
when i read the file and assign to variable
value=$(cat file1.txt)
echo $value
i get the output without tab spaces.
0xxxx 11 test $aa$ 8.43
How to assign string... (2 Replies)
Discussion started by: nanthagopal
2 Replies
5. Shell Programming and Scripting
For example, I have a file with below lines containing VOB tags and VOB paths.
* /vobs/fts/FTSUSM20_VOB /ccvobsslx01/projects/vobs/eml/FTSUSM20_VOB
* /vobs/fts/FTS20_VOB /ccvobsslx01/projects/vobs/eml/FTS20_VOB
* /vobs/pmv/PMS_VOB /ccvobsslx01/projects/vobs/cpm/_/PMS_VOB
*... (4 Replies)
Discussion started by: senthilkc
4 Replies
6. Shell Programming and Scripting
Hi Masters,
I want to assign the values of one variable to another variable.
Here the varaible name 'var' is dynamic. I know the values of V_2 and U_3, but
If the i/p of TYPE is 'U' and the NO is 3, then I want to assign the values of
U_3 to var.
How we can achieve it?
TYPE="U"... (4 Replies)
Discussion started by: ecearund
4 Replies
7. Shell Programming and Scripting
I have a string as "yes why not"
I want to create one array variable with contents as one word per place in array..
for above string,the array variable should contain...
x="yes,why,not"
x = yes
x = why
x = not
Please help me,I am stuck up in the problem since 2 days... (3 Replies)
Discussion started by: uday26
3 Replies
8. Shell Programming and Scripting
hi
I have two tables in oracle DB and am using a joining query which will result in the output as follows.
i need to assign it to a two dimensional array and use it for my further calculations.
the way i tried is as follows.
#!/bin/ksh
export... (1 Reply)
Discussion started by: aemunathan
1 Replies
9. Shell Programming and Scripting
Hello friends,
This query is with regards to a script (pl/sql) which returns multiple values.
Please see below script wherein the query returns a single value and is assigned to a single variable
DB_VALID_CDR=`sqlplus -s user/pass<<!EOF | grep -v "^Connected" 2>&1
set termout off echo... (2 Replies)
Discussion started by: vivek_damodaran
2 Replies
10. UNIX for Dummies Questions & Answers
how can i create a script with a correct control flow/loop(?) to
provide output from 3 files?
file1
one
two
three
file2
yellow
red
orange
file3
banana
apples
cantaloupes
output file:
one (1 Reply)
Discussion started by: apalex
1 Replies