Sponsored Content
Top Forums Shell Programming and Scripting how to extract a data from a column? Post 302239123 by Balaji Sukumara on Tuesday 23rd of September 2008 02:26:58 AM
Old 09-23-2008
I'm new to unix , Im here to learn from the experts , Here is my doubt
this is a sinlge line.

2008-05-24 04:11:57,008 [http-8080-Processor23] INFO com.kodiak.agc.ProvisionAGC - PROV_STATS:::919740012846::Nokia 6600::::[Ljava.lang.String;@9cbd4b

I want the output to be like below format, i tried that above things but im not able to extract the data's wht i needed ,

|2008-05-24|04:11:57|919740012846|Nokia 6600|


Please help!!!

Last edited by Balaji Sukumara; 09-23-2008 at 04:21 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Extract column data from File

I have a file containing the lines similar to the following entries: File1.txt: ..... -rw-r--r-- 1 root staff 4110 Aug 7 17:02 XXX_OrderNum1_date1_time1.txt -rw-r--r-- 1 root staff 4110 Aug 7 17:02 XXX_OrderNum2_date2_time1.txt -rw-r--r-- 1 root staff ... (3 Replies)
Discussion started by: sudheshnaiyer
3 Replies

2. Shell Programming and Scripting

Extract data based on match against one column data from a long list data

My input file: data_5 Ali 422 2.00E-45 102/253 140/253 24 data_3 Abu 202 60.00E-45 12/23 140/23 28 data_1 Ahmad 256 7.00E-45 120/235 140/235 22 data_4 Aman 365 8.00E-45 15/65 140/65 20 data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies

3. Shell Programming and Scripting

Extract specific data content from a long list of data

My input: Data name: ABC001 Data length: 1000 Detail info Data Direction Start_time End_time Length 1 forward 10 100 90 1 forward 15 200 185 2 reverse 50 500 450 Data name: XFG110 Data length: 100 Detail info Data Direction Start_time End_time Length 1 forward 50 100 50 ... (11 Replies)
Discussion started by: patrick87
11 Replies

4. UNIX for Dummies Questions & Answers

Extract alphahumeric data from a column

Hi Unix Gurus, I am newbie to UNIX. I have a file test.txt with the follwing data aa90558 bb72962 cc08342 xy112233 yz25341 aa372099 cc34590231 bb880011 testfil Whatisit00 1234556 testfile2test I want to output only the items with two alpha followed by 5 numeric (ex aa90558 or... (2 Replies)
Discussion started by: SalM
2 Replies

5. Shell Programming and Scripting

for each different entry in column 1 extract maximum values from column 2 in unix/awk

Hello, I have 2 columns (1st column has multiple entries but the corresponding values in the column 2 may be the same or different.) however I want to extract unique values for each entry in column 1 by assigning the max value from column 2 SDF4 -0.211654 SDF4 0.978068 ... (1 Reply)
Discussion started by: Diya123
1 Replies

6. Shell Programming and Scripting

Need to extract data from Column having variable length column

Hi , I need to extract data from below mentioned data, having no delimiter and havin no fixed column length. For example: Member nbr Ref no date 10000 1000 10202012 200000 2000 11202012 Output: to update DB with memeber nbr on basis of ref no. ... (6 Replies)
Discussion started by: ns64110
6 Replies

7. Shell Programming and Scripting

Compare 2 files and match column data and align data from 3 column

Hello experts, Please help me in achieving this in an easier way possible. I have 2 csv files with following data: File1 08/23/2012 12:35:47,JOB_5330 08/23/2012 12:35:47,JOB_5330 08/23/2012 12:36:09,JOB_5340 08/23/2012 12:36:14,JOB_5340 08/23/2012 12:36:22,JOB_5350 08/23/2012... (5 Replies)
Discussion started by: asnandhakumar
5 Replies

8. UNIX for Dummies Questions & Answers

Extract column data

I have a file which extracts data from an HTML file For Eg HTML file contains: New York;ABC;145;Yes;YES;No New York;BCD;113;Yes;YES;No New York;NAS;63;Yes;YES;No ------------------------ London-48;CBT;16;Yes;YES;No London-48;CME;17;Yes;YES;No London-48;EUR;52;Yes;YES;No... (3 Replies)
Discussion started by: newkid.7955
3 Replies

9. Shell Programming and Scripting

Change data in one column with data from another file's column

Hello, I have this file outputData: # cat /tmp/outputData __Capacity^6^NBSC01_Licences^L3_functionality_for_ESB_switch __Capacity^2100^NBSC01_Licences^Gb_over_IP __Capacity^1837^NBSC01_Licences^EDGE_BSS_Fnc __Capacity^1816^NBSC01_Licences^GPRS_CS3_and_CS4... (1 Reply)
Discussion started by: nypreH
1 Replies

10. Shell Programming and Scripting

Get extract and replace column with link in a column where it exists

hi i have sample data a,b,c,d,e,g h http://mysite.xyx z,b,d,f,e,s t http://123124# a,b,c,i,m,nothing d,i,j,e,w,nothing output expected is a,b,c,d,e,http://mysite.xyx z,b,d,f,e,http://123124# a,b,c,i,m,nothing d,i,j,e,w,nothing i can get only links using grep -o 'http.*' i... (8 Replies)
Discussion started by: zozoo
8 Replies
zjsdecode(1)						      General Commands Manual						      zjsdecode(1)

NAME
zjsdecode - Decode a ZjStream into human readable form. SYNOPSIS
zjsdecode [options] <zjs-file DESCRIPTION
zjsdecode decodes a ZjStream into human readable form. A ZjStream is the printer langauge used by some Minolta/QMS and HP printers, such as the 2300DL and LJ-1000. More information on Zenographics ZjStream can be found at: http://ddk.zeno.com COMMAND LINE OPTIONS
These are the options that can appear on the command line. -d basename Basename of .pbm file for saving decompressed planes. -r basename Basename of .jbg file for saving raw planes -h Print hex file offsets. -o Print file offsets. -p Don't do 4 byte padding -D level Set Debug level [0]. EXAMPLES
Decode an ZjStream file created by foo2zjs. $ zjsdecode < testpage.zm ZJT_START_DOC, 3 items ZJI_PAGECOUNT, 0 (0x0) ZJI_DMDUPLEX, 1 (0x1) ZJI_QUANTITY, 1 (0x1) ZJT_START_PAGE, 17 items ZJI_0x17, 0 (0x0) ZJI_0x16, 1 (0x1) ZJI_VIDEO_X, 10200 (0x27d8) ZJI_VIDEO_Y, 6600 (0x19c8) ZJI_VIDEO_BPP, 1 (0x1) ZJI_RASTER_X, 10200 (0x27d8) ZJI_RASTER_Y, 6600 (0x19c8) ZJI_OFFSET_X, 0 (0x0) ZJI_OFFSET_Y, 0 (0x0) ZJI_NBIE, 1 (0x1) ZJI_RESOLUTION_X, 1200 (0x4b0) ZJI_RESOLUTION_Y, 600 (0x258) ZJI_DMDEFAULTSOURCE, 7 (0x7) ZJI_DMCOPIES, 1 (0x1) ZJI_DMPAPER, 1 (0x1) ZJI_DMMEDIATYPE, 1 (0x1) ZJI_MINOLTA_PAGE_NUMBER, 1 (0x1) ZJT_JBIG_BIH, 0 items Data: 20 bytes DL = 0, D = 0, P = 1, - = 0, XY = 10200 x 6600 L0 = 128, MX = 16, MY = 0 Order = 3 ILEAVE SMID Options = 92 LRLTWO TPDON TPBON DPON 52 stripes, 0 layers, 1 planes ZJT_JBIG_BID, 0 items Data: 65536 bytes ZJT_JBIG_BID, 0 items Data: 29120 bytes ZJT_END_JBIG, 0 items ZJT_END_PAGE, 0 items ZJT_END_DOC, 0 items FILES
/usr/bin/zjsdecode SEE ALSO
foo2zjs-wrapper(1), foo2zjs(1), jbg2pbm(1) AUTHOR
Rick Richardson <rick.richardson@comcast.net> http://foo2zjs.rkkda.com/
All times are GMT -4. The time now is 03:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy