Sponsored Content
Top Forums Shell Programming and Scripting How to format or create a matrix report from file Post 302271206 by manas_ranjan on Wednesday 24th of December 2008 08:38:06 AM
Old 12-24-2008
thank u so much for your idea and suggestion......i did the below method and able to extract the file in some manner ,
grep -E "VSTR_KEY$GEN_VSTR_INDEX|MESSAGE_ID" a.txt | awk -F" " '{print $4}'
"EQUENS0001C081222081222081222"
"20081219/00000006"
"EQUENS0002C081222081222081222"
"20081219/00000007"
"EQUENS1100C081222081222081222"
"20081219/00000005"
so now my query is can i format this o/p to below
"EQUENS0001C081222081222081222"-"20081219/00000006"
"EQUENS0002C081222081222081222"-"20081219/00000007"
"EQUENS1100C081222081222081222"-"20081219/00000005"
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to create concatenate a file in tab format

Hi, Do you know given a file which is SED at the same time, how to read it and AWK it in tabs format. Means:- I have an input file which is (at the same time perform sed):- 1 2 3 4 5 6 7 I would like to print out in tab format which is:- 1 2 3 4 5 6 7 .... (12 Replies)
Discussion started by: ahjiefreak
12 Replies

2. UNIX for Dummies Questions & Answers

create data file from report file

Dear Ones, kindly help me to create a data file from the report file as shown here under( i am new one to unix KNOW BASIC COMMANDS) file:rama.prt (ist record)(3 to 4 lines of text with different filed names) Name :M.LALITHA DOB:12/11/45 DESG :JA(P) STANO:300175 ... (3 Replies)
Discussion started by: cvvsnm
3 Replies

3. Shell Programming and Scripting

Help to Create this file format structure

This data comes form the table and exported into the file in this format File1 Format weboffercode1,sourcecode1,1,1,1,1,1,1 weboffercode1,sourcecode2,1,1,1,1,1,1 weboffercode1,sourcecode1,1,1,1,1,1,1 weboffercode1,sourcecode3,1,1,1,1,1,1 weboffercode1,sourcecode3,1,1,1,1,1,1 ... (4 Replies)
Discussion started by: enigma_83
4 Replies

4. UNIX for Advanced & Expert Users

to create format file for bcp in

I want to create the format file for bcp in a file to the table. My Versions are: Unix: Sun OS, DB: Sybase. How can i create the format file. Is there any way to create the format by bcp command or some system sp. Please help. (3 Replies)
Discussion started by: Arunprasad
3 Replies

5. Shell Programming and Scripting

awk? create similarity matrix by calculating overlaps between sets comprising of individual parts

Hi everyone I am very new at awk and to me the task I need to get done is very very challenging... Nevertheless, after admiring how fast and elegant issues are being solved here I am sure this is my best chance. I have a 2D data file (input file is a plain tab-delimited text file). The first... (1 Reply)
Discussion started by: stonemonkey
1 Replies

6. Shell Programming and Scripting

Create a report for client with a text data file

Hi, I am an amateur bash scriptwriter and I need to write a script which creates a report in a formatted, easy to read table-like that is displayed to standard output. The script has to export the followings: Process ID,User Name, Command Name,Priority..... Now I have a file that I can see all... (3 Replies)
Discussion started by: bashily
3 Replies

7. Programming

Transforming 3 columns to matrix format

Dear All I have a huge data for 3 columns similar to this D2cls0 D2cls0 1 D2cls0 D2cls1 0.308 D2cls0 D2cls2 0.554 D2cls0 D2cls3 0.287 D2cls0 D2cls4 0.633 D2cls0 D2cls5 0.341 D2cls0 D2cls6 0.665 D2cls0 D2cls7 0.698 D2cls0 D2cls8 0.625 D2cls0 D2cls9 0.429 I... (9 Replies)
Discussion started by: bala06
9 Replies

8. Shell Programming and Scripting

Needed touch command to create a file in the following format

needed touch command to create a file in the following format touch a_yyyymmdd_hhmmss (1 Reply)
Discussion started by: hemanthsaikumar
1 Replies

9. Shell Programming and Scripting

How to create a file from output of vertica table query in UTF-8 format?

Hello, In my shell script, I extract table data from HP Vertica DB into a csv file using vsql -c command. But the problem is the file getting created is in binary format and hence some of the data becomes unreadable which has chinese characters as part of data. file -i filename.csv - gives... (2 Replies)
Discussion started by: Dharmatheja
2 Replies

10. UNIX for Beginners Questions & Answers

Create movie from jpg (or other picture format) file

hi linux expert is there any program for create movie file from pictures file (like jpg)? Many Thanks samad (1 Reply)
Discussion started by: abdossamad2003
1 Replies
Locale::RecodeData::INIS_CYRILLIC(3)			User Contributed Perl Documentation		      Locale::RecodeData::INIS_CYRILLIC(3)

NAME
Locale::RecodeData::INIS_CYRILLIC - Conversion routines for INIS_CYRILLIC SYNOPSIS
This module is internal to libintl. Do not use directly! DESCRIPTION
This module is generated and contains the conversion tables and routines for INIS-CYRILLIC. COMMENTS
The following comments have been extracted from the original charmap: version: 1.0 source: ECMA registry alias ISO-IR-51 Please note that aliases listed above are not necessarily valid! CHARACTER TABLE
The following table is sorted in the same order as the original charmap. All character codes are in hexadecimal. Please read 'ISO-10646' as 'ISO-10646-UCS4'. Local | ISO-10646 | Description -------+-----------+------------------------------------------------- 00 | 00000000 | NULL (NUL) 01 | 00000001 | START OF HEADING (SOH) 02 | 00000002 | START OF TEXT (STX) 03 | 00000003 | END OF TEXT (ETX) 04 | 00000004 | END OF TRANSMISSION (EOT) 05 | 00000005 | ENQUIRY (ENQ) 06 | 00000006 | ACKNOWLEDGE (ACK) 07 | 00000007 | BELL (BEL) 08 | 00000008 | BACKSPACE (BS) 09 | 00000009 | CHARACTER TABULATION (HT) 0A | 0000000A | LINE FEED (LF) 0B | 0000000B | LINE TABULATION (VT) 0C | 0000000C | FORM FEED (FF) 0D | 0000000D | CARRIAGE RETURN (CR) 0E | 0000000E | SHIFT OUT (SO) 0F | 0000000F | SHIFT IN (SI) 10 | 00000010 | DATALINK ESCAPE (DLE) 11 | 00000011 | DEVICE CONTROL ONE (DC1) 12 | 00000012 | DEVICE CONTROL TWO (DC2) 13 | 00000013 | DEVICE CONTROL THREE (DC3) 14 | 00000014 | DEVICE CONTROL FOUR (DC4) 15 | 00000015 | NEGATIVE ACKNOWLEDGE (NAK) 16 | 00000016 | SYNCHRONOUS IDLE (SYN) 17 | 00000017 | END OF TRANSMISSION BLOCK (ETB) 18 | 00000018 | CANCEL (CAN) 19 | 00000019 | END OF MEDIUM (EM) 1A | 0000001A | SUBSTITUTE (SUB) 1B | 0000001B | ESCAPE (ESC) 1C | 0000001C | FILE SEPARATOR (IS4) 1D | 0000001D | GROUP SEPARATOR (IS3) 1E | 0000001E | RECORD SEPARATOR (IS2) 1F | 0000001F | UNIT SEPARATOR (IS1) 20 | 00000020 | SPACE 2C | 0000221A | SQUARE ROOT 2E | 00002192 | RIGHTWARDS ARROW 2F | 0000222B | INTEGRAL 30 | 000003B1 | GREEK SMALL LETTER ALPHA 31 | 000003B2 | GREEK SMALL LETTER BETA 32 | 000003B3 | GREEK SMALL LETTER GAMMA 33 | 000003B4 | GREEK SMALL LETTER DELTA 34 | 000003A3 | GREEK CAPITAL LETTER SIGMA 35 | 000003BC | GREEK SMALL LETTER MU 36 | 000003BD | GREEK SMALL LETTER NU 37 | 000003C9 | GREEK SMALL LETTER OMEGA 38 | 000003C0 | GREEK SMALL LETTER PI 39 | 0000039E | GREEK CAPITAL LETTER XI 3A | 00000394 | GREEK CAPITAL LETTER DELTA 3B | 0000039B | GREEK CAPITAL LETTER LAMDA 3C | 000003A9 | GREEK CAPITAL LETTER OMEGA 3D | 0000042A | CYRILLIC CAPITAL LETTER HARD SIGN 3E | 0000207B | SUPERSCRIPT MINUS 3F | 0000207A | SUPERSCRIPT PLUS SIGN 40 | 0000044E | CYRILLIC SMALL LETTER YU 41 | 00000430 | CYRILLIC SMALL LETTER A 42 | 00000431 | CYRILLIC SMALL LETTER BE 43 | 00000446 | CYRILLIC SMALL LETTER TSE 44 | 00000434 | CYRILLIC SMALL LETTER DE 45 | 00000435 | CYRILLIC SMALL LETTER IE 46 | 00000444 | CYRILLIC SMALL LETTER EF 47 | 00000433 | CYRILLIC SMALL LETTER GHE 48 | 00000445 | CYRILLIC SMALL LETTER HA 49 | 00000438 | CYRILLIC SMALL LETTER I 4A | 00000439 | CYRILLIC SMALL LETTER SHORT I 4B | 0000043A | CYRILLIC SMALL LETTER KA 4C | 0000043B | CYRILLIC SMALL LETTER EL 4D | 0000043C | CYRILLIC SMALL LETTER EM 4E | 0000043D | CYRILLIC SMALL LETTER EN 4F | 0000043E | CYRILLIC SMALL LETTER O 50 | 0000043F | CYRILLIC SMALL LETTER PE 51 | 0000044F | CYRILLIC SMALL LETTER YA 52 | 00000440 | CYRILLIC SMALL LETTER ER 53 | 00000441 | CYRILLIC SMALL LETTER ES 54 | 00000442 | CYRILLIC SMALL LETTER TE 55 | 00000443 | CYRILLIC SMALL LETTER U 56 | 00000436 | CYRILLIC SMALL LETTER ZHE 57 | 00000432 | CYRILLIC SMALL LETTER VE 58 | 0000044C | CYRILLIC SMALL LETTER SOFT SIGN 59 | 0000044B | CYRILLIC SMALL LETTER YERU 5A | 00000437 | CYRILLIC SMALL LETTER ZE 5B | 00000448 | CYRILLIC SMALL LETTER SHA 5C | 0000044D | CYRILLIC SMALL LETTER E 5D | 00000449 | CYRILLIC SMALL LETTER SHCHA 5E | 00000447 | CYRILLIC SMALL LETTER CHE 5F | 0000044A | CYRILLIC SMALL LETTER HARD SIGN 60 | 0000042E | CYRILLIC CAPITAL LETTER YU 61 | 00000410 | CYRILLIC CAPITAL LETTER A 62 | 00000411 | CYRILLIC CAPITAL LETTER BE 63 | 00000426 | CYRILLIC CAPITAL LETTER TSE 64 | 00000414 | CYRILLIC CAPITAL LETTER DE 65 | 00000415 | CYRILLIC CAPITAL LETTER IE 66 | 00000424 | CYRILLIC CAPITAL LETTER EF 67 | 00000413 | CYRILLIC CAPITAL LETTER GHE 68 | 00000425 | CYRILLIC CAPITAL LETTER HA 69 | 00000418 | CYRILLIC CAPITAL LETTER I 6A | 00000419 | CYRILLIC CAPITAL LETTER SHORT I 6B | 0000041A | CYRILLIC CAPITAL LETTER KA 6C | 0000041B | CYRILLIC CAPITAL LETTER EL 6D | 0000041C | CYRILLIC CAPITAL LETTER EM 6E | 0000041D | CYRILLIC CAPITAL LETTER EN 6F | 0000041E | CYRILLIC CAPITAL LETTER O 70 | 0000041F | CYRILLIC CAPITAL LETTER PE 71 | 0000042F | CYRILLIC CAPITAL LETTER YA 72 | 00000420 | CYRILLIC CAPITAL LETTER ER 73 | 00000421 | CYRILLIC CAPITAL LETTER ES 74 | 00000422 | CYRILLIC CAPITAL LETTER TE 75 | 00000423 | CYRILLIC CAPITAL LETTER U 76 | 00000416 | CYRILLIC CAPITAL LETTER ZHE 77 | 00000412 | CYRILLIC CAPITAL LETTER VE 78 | 0000042C | CYRILLIC CAPITAL LETTER SOFT SIGN 79 | 0000042B | CYRILLIC CAPITAL LETTER YERU 7A | 00000417 | CYRILLIC CAPITAL LETTER ZE 7B | 00000428 | CYRILLIC CAPITAL LETTER SHA 7C | 0000042D | CYRILLIC CAPITAL LETTER E 7D | 00000429 | CYRILLIC CAPITAL LETTER SHCHA 7E | 00000427 | CYRILLIC CAPITAL LETTER CHE 7F | 0000007F | DELETE (DEL) AUTHOR
Copyright (C) 2002-2009, Guido Flohr <guido@imperia.net>, all rights reserved. See the source code for details. This software is contributed to the Perl community by Imperia (<http://www.imperia.net/>). SEE ALSO
Locale::RecodeData(3), Locale::Recode(3), perl(1) POD ERRORS
Hey! The above document had some coding errors, which are explained below: Around line 865: =cut found outside a pod block. Skipping to next block. perl v5.16.3 2014-06-10 Locale::RecodeData::INIS_CYRILLIC(3)
All times are GMT -4. The time now is 01:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy