10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Gurus,
I am trying to fetch a required number of lines from an output of a command which is in tabular form.
Below is the command for reference along with how the result is being shown on UNIX shell.
/usr/openv/volmgr/bin/vmquery -b -p 5
The result of the above command is as... (6 Replies)
Discussion started by: Ali Sarwar
6 Replies
2. Shell Programming and Scripting
I have 42 text files; each containing up to 34 lines with following structure;
file1
H-01 23
H-03 5
H-05 9
H-02 14
.
.
file2
H-01 17
H-02 43
H-04 7
H-05 8
H-03 7
.
.
file3 (6 Replies)
Discussion started by: Syeda Sumayya
6 Replies
3. Shell Programming and Scripting
Hi There,
I want to convert the following data into tabular matrix, based on column 4th and 5th, and output the column 10th value
chr1 2804449 2804450 NACpG_1 window1 + chr1 2804443 2804475 1
chr1 2804450 2804451 NACpG_1 window2 + chr1 2804443 ... (3 Replies)
Discussion started by: ChiragNepal
3 Replies
4. Shell Programming and Scripting
How can i convert the below data to a simpler format :-
cat tabular.txt
User 1 Details :-
First Name = Tom
Middle Name =
Last Name = Hanks
Age = 40
Address =
User 2 details :-
First Name = Mike
Middle Name =
Last Name = Tyson
Age = 50
Address = (2 Replies)
Discussion started by: lazydev
2 Replies
5. Shell Programming and Scripting
Hi,
I have directory with multiple files from which i need to extract portion of specif lines and insert it in a new file, the new file will contain a separate columns for each file data.
Example:
I need to extract Value_1 & Value_3 from all files and insert in output file as below:
... (2 Replies)
Discussion started by: belalr
2 Replies
6. Shell Programming and Scripting
Hi,
I have a data file with :
01/28/2012,1,1,98995
01/28/2012,1,2,7195
01/29/2012,1,1,98995
01/29/2012,1,2,7195
01/30/2012,1,1,98896
01/30/2012,1,2,7083
01/31/2012,1,1,98896
01/31/2012,1,2,7083
02/01/2012,1,1,98896
02/01/2012,1,2,7083
02/02/2012,1,1,98899
02/02/2012,1,2,7083
I... (1 Reply)
Discussion started by: himanish
1 Replies
7. UNIX for Dummies Questions & Answers
Dear Friends,
I have a file as under :
+++ ME 12-06-13 18:16:20
A RED FEW AND ROW1 1MN FEL AS
HI FI BV LR TS HR ES MR
* 0 13296 0 120 1 15
KS RR
10 0
+++ ME 12-06-13 18:26:20
A RED FEW AND ROW2 1MN FEL AS... (2 Replies)
Discussion started by: vanand420
2 Replies
8. UNIX for Dummies Questions & Answers
Hi
I am having a file which is required to be presented in the under-noted output form. Please suggest.
Input:
Kapil:
apple 4
banana 6
cherry 0
Manoj:
apple 13
banana
cheery 2
Output:
apple banana cherry
Kapil: 4 6 0
Manoj: 13 2
Thanks in... (4 Replies)
Discussion started by: vanand420
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I have a log file which contains data in tabular format(3 columns(total, posted, rejected) and 2 rows(close, total)) as below.
TOTAL POSTED REJECTED
CLOSE 3 3 0
TOTAL 3 3 0
I have to search for all Total... (1 Reply)
Discussion started by: akash028
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Could anyone help me in changing a tabular format output to comma seperated file pls in K-sh. Its very urgent.
E.g : username empid
------------------------
sri 123
to
username,empid
sri,123
Thanks,
Hema:confused: (2 Replies)
Discussion started by: Hemamalini
2 Replies