10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
My input file(inputfile.txt):
Job name.... EXTDPL_1
Created on.. 2018-11-19 14:00:00
Modified on. 2018-11-22 11:54:46
Job name.... EXTDPL_2
Created on.. 2018-11-21 12:31:27
Modified on. 2018-11-21 12:35:28
2 records listed.
>Q
expected output:
Job name Created... (3 Replies)
Discussion started by: JSKOBS
3 Replies
2. Homework & Coursework Questions
input file txt file
2000 1 name
2000 2 addr
2000 3 phone
2000 4 email
1000 1 name
1000 2 addr
1000 3 phone
1000 4 email
3000 1 name
3000 2 addr
3000 ... (4 Replies)
Discussion started by: senmatrix
4 Replies
3. Linux
Hi Friends,
I need to pivot data .
Below is my source data
Source Data
PK PRTY_KEY_ID PRTY_SUB_KEY_ID KEY_COL_VAL_TX MTCH_CNFDNCE_RATE
007824822 428844791 1 #Jemmy#Pom#600 Kearsarge Way 100
007824822 429283974 1 #Jemmy#Pom#120 Broadway 100
007824822 429739103 1 #Jemmy#Pom#600 Keae Way#757... (0 Replies)
Discussion started by: patiljeevan3
0 Replies
4. Shell Programming and Scripting
Hello Unix guys,
I have the following 4 column data, which is a output of db2 select query:
Need to pivot the data.
sample Input:
Year Month Country Counts
2012 Aug Canada 114
2012 Aug USA 92
2012 Aug Mexico 3
2012 Aug ... (3 Replies)
Discussion started by: karumudi7
3 Replies
5. Shell Programming and Scripting
Here is the contents of an input file.
A,1,2,3,4
10,aaa,bbb,ccc,ddd
11,eee,fff,ggg,hhh
12,iii,jjj,lll,mmm
13,nnn,ooo,ppp
I wanted the output to be
A
10 1 aaa
10 2 bbb
10 3 ccc
10 4 ddd
11 1 eee
11 2 fff
11 3 ggg
11 4 hhh .....
and so on How to do it in ksh... (9 Replies)
Discussion started by: ksatish89
9 Replies
6. Shell Programming and Scripting
Hi All,
My Input data is:
A=1
B=2
My desired Output should be:
A|B
1|2
Thanks in advance... (3 Replies)
Discussion started by: kmsekhar
3 Replies
7. Shell Programming and Scripting
Hi,
I need help on how to pivot the data in UNIX. I have one input file in which The facts(FACT1,FACT2..) and PERIOD(JAN,FEB..) are columns.I need to pivot the data. For Exampe The input file and output file looks like below. Could you please help with this using awk:).
INPUT:
====== ... (1 Reply)
Discussion started by: Gayathricheruku
1 Replies
8. Shell Programming and Scripting
Hello gurus,
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
call 3.1;
If 3.1 = "complete" then
call 3.2;
if 3.2 = ''COMPlete" then
call 3.3;
else
exit
The... (1 Reply)
Discussion started by: shashi369
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Input
ID|Name
1|a,b,c
2|d,e,f,g
I would like to get output in the following format.
Output
ID|NAME
1|a
1|b
1|c
2|d
2|e
2|f
2|g (2 Replies)
Discussion started by: deepakwins
2 Replies
10. AIX
Hi,
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies