Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to perform Grep on many Gzip files, Searching for Specific information Post 302338403 by legharb on Monday 27th of July 2009 10:48:37 PM
Old 07-27-2009
Thanks much to those that responded.

Will try what was suggested and advise.

Best regards.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

searching text files on specific columns for duplicates

Is it possible to search through a large file full of rows and columns of text and retrieve only the rows that contain duplicates fields, searchiing for duplicates on col4 & col6 Sample below Col1 col2 col3 col4 col5 col6 G405H SURG FERGUSON ... (2 Replies)
Discussion started by: Gerry405
2 Replies

2. Shell Programming and Scripting

grep - searching for a specific string

ppl, this is my "file" with fields orderno orderdate orderdesc telno street city 1 01/04/2006 abc 123 100 tampa 2 01/04/2006 abc 123 100 tampa 3 01/04/2006 abc 123 100 tampa 4 01/04/2006 abc ... (2 Replies)
Discussion started by: manthasirisha
2 Replies

3. Shell Programming and Scripting

Need help in searching 2 files for strings then perform an action

I have 2 files. I basically want to search both of them to see if the 1st column ($1) matches and if it matches then check to see if the 2nd column ($2) matches, then execute some code showing the results of the matches. File 1: AAA 123 misc blah BBB 456 CCC 789 File 2: ... (2 Replies)
Discussion started by: streetfighter2
2 Replies

4. Shell Programming and Scripting

perform some operation on a specific coulmn starting from a specific line

I have a txt file having rows and coulmns, i want to perform some operation on a specific coulmn starting from a specific line. eg: 50.000000 1 1 1 1000.00000 1000.00000 50000.000 19 19 3.69797533E-07 871.66394 ... (3 Replies)
Discussion started by: shashi792
3 Replies

5. Shell Programming and Scripting

Searching for files with specific extensions

Hi, Could someone give me a hand with a search for files with two possible extensions, please. The requirement is simple - I need to issue a single ls command searching for files with the suffix of, say, *.txt and *.log. I've tried to use ls *.txt *.log which works if there are both... (4 Replies)
Discussion started by: neilmw
4 Replies

6. UNIX for Dummies Questions & Answers

Grep bunch of gzip files to count based on category

Started using unix commands recently. I have 50 gzip files. I want to grep each of these files for a line count based particular category in column 3. How can I do that? For example Sr.No Date City Description Code Address 1 06/09 NY living here 0909 10st st nyc 2 ... (5 Replies)
Discussion started by: jinxx
5 Replies

7. UNIX for Dummies Questions & Answers

Grep in Perl - Searching through multiple files

I'm attempting to use grep in Perl with very little success. What I would like to do in Perl is get the output of the following grep code: grep -l 'pattern' * This gives me a list of all the files in a directory that contain the pattern that was searched. My attempts to do this in Perl... (4 Replies)
Discussion started by: WongSifu
4 Replies

8. Red Hat

Moving of file content to another two files after searching with specific pattern

Hello, Please help me with this!! Thanks in advance!! I have a file named file.gc with the content: 1-- Mon Sep 10 08:53:09 CDT 2012 2revoke connect from FR2261; 3delete from mkt_allow where grantee = 'FR2261'; 4grant connect to FR2261 with '******'; 5alter user FR2261 comment... (0 Replies)
Discussion started by: raosr020
0 Replies

9. UNIX for Beginners Questions & Answers

Searching the value of a specific attribute among xmls files from a particular directory location

Hi Folks , I have the different xml files at the following directory `/opt/app/rty/servers/tr/current/ops/config` Let's say there are three files named abc.xml bv.xml ert.xml Now inside these xml there can be many tags as like shown below <bean id="sdrt"... (6 Replies)
Discussion started by: unclesamm
6 Replies
DXmDisplayCSMessage(3X) 												   DXmDisplayCSMessage(3X)

NAME
DXmDisplayCSMessage - Displays a compound string message. SYNOPSIS
Widget DXmDisplayCSMessage( Widget parent_widget, char *name, Boolean default_position, Position x, Position y, unsigned char style, int *message_vector, Widget *widget, int *convert_proc, XtCallbackList ok_callback, XtCallbackList help_callback ); PARAMETERS
The identifier (widget ID) for the parent widget of the created widget. The name of the created widget. When True, the x and y positions of the widget window are ignored in favor of the default, which centers the message box in the window of the parent widget. The placement, in pixels, of the left side of the message box relative to the inner upper-left corner of the parent window. The placement, in pixels, of the upper side of the message box relative to the inner upper-left corner of the parent window. The style of the dialog box widget used for the message box. The predefined values for this resource are as follows: ----------------------------------------------------------- Value Description ----------------------------------------------------------- XmDIALOG_FULL_APPLICATION_MODAL Used for dialogs that must be responded to before other interac- tions in the same application XmDIALOG_MODELESS Modeless type dialog box XmDIALOG_PRIMARY_APPLICATION_MODAL Used when dialogs must be responded to before other interac- tions in ancestors of the widget XmDIALOG_SYSTEM_MODAL Modal type dialog box ----------------------------------------------------------- The default is XmDIALOG_MODELESS. The message argument vector specifying the compound strings and associated information. The first longword contains the number of longwords in the message blocks to follow. The first longword in each message block con- tains a pointer to the compound string. The next word consists of the formatted ASCII output (FAO) parameter count. The remaining longwords in the message block are the FAO parameters. In addition to the standard FAO system service flags, the compound string message routine will accept the new FAO directive "!CS". When used, this directive will insert a compound string itself. The identifier (widget ID) of an already existing message box wid- get. The Intrinsic routine XtSetValues is called on this widget to change the text of the message to match the new message. (Note, however, that this call to XtSetValues does not set default_position, x, y, or style for the existing message box widget.) If this parameter is 0, a new message box widget is created. A pointer to a routine that is executed after the message is formatted but before it is displayed. A pointer to the formatted string is passed to the routine as a parameter. The parameter is a null-terminated character string. A callback descriptor data structure. The callback is executed when the user clicks on the Acknowledged button. The reason is XmCR_OK. A callback descriptor data structure. The callback is executed when the user requests help. The reason returned is XmCR_HELP. DESCRIPTION
The DXmDisplayCSMessage routine accepts an array of compound strings, formats them, and, if necessary, creates a message box. A return of 0 (Null) indicates that the message box could not be created. RETURN VALUES
The identifier (widget ID) of the message box widget. DXmDisplayCSMessage(3X)
All times are GMT -4. The time now is 03:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy