Grep a section from an UNIX file obtaining only part of the data
Hello,
I have a log file that has several sections "BEGIN JOB, End of job" like in the following example:
From each of these sections I need to extract the following data, if possible, with the following output format.
Can you guide me through a possible way to do that?
Thanks a lot in advance.
I recently took a training through a college, and have obtained the CUSA certification, but I've been looking and don't see any jobs in unix out there! Does anyone know of hidden job markets in the unix administration area, located in the Detroit - Michigan area? (4 Replies)
Hi,
Is it possible to grep only on a certain part of a file? Say I have file in.txt which contains below:
11/16 13:07:19.5436 --- ERROR 123 detected.
11/16 13:08:19.5436 --- Generating a <reading> event
11/16 13:08:19.7784 ---- Sending a <writing> event
11/16 14:08:37.4516 ---... (2 Replies)
Hello, this is my first post on the Unix forums. This is something that's been bothering me for a while, is there any particular UNIX/Linux application that will allow you to see you external IP address? :confused: ( The address beyond your router )
Thank you in advance, I could not find a... (4 Replies)
Hi,
I have a problem to use grep in my script .
If I want to grep the file for example : PTWO9089.txt
The code below works .
grep ^PONE
But, I dont know on how to grep the file like this 9066PTWO.txt
I'll try to use this code :
grep PTWO^ ,but it doesn't work.
For your info, the... (4 Replies)
hiii, Help me out..i have a huge set of data stored in a file.This file has has 2 columns which is latitude & longitude of a region. Now i have a program which asks for the number of points & based on this number it asks the user to enter that latitude & longitude values which are in the same... (7 Replies)
I have a list of Servers in no particular order as follows:
virtualMachines="IIBSBS IIBVICDMS01 IIBVICMA01"And I am generating some output from a pre-existing script that gives me the following (this is a sample output selection).
9/17/2010 8:00:05 PM: Normal backup using VDRBACKUPS... (2 Replies)
Hi,
I have a large number of data files each containing simple integers from 1 to around 25000 in ascending order. However, they are not in a specific progression; some numbers are missing in each file.
For ex. datfile1 may have the numbers in order 1 2 4 6 7 8 12 ... 24996 24999
while datfile2... (8 Replies)
I can obtain information from itdt inventory command however it display as below, I'd like to print each entity on one line but seperated by :
the file is something like and each section ends with Volume Tag
Drive Address 256
Drive State ................... Normal
ASC/ASCQ... (3 Replies)
Hi,
I have a file with thousands of lines as below
INSERT INTO T_DIM_CLNT(CLNT_KY,CLNT_OBJ_ID,ISI_CLNT_ID,OPERN_ID,CLNT_NM,PRMRY_SIC_CD,PRMRY_SIC_DSC,RET_AGE_NBR,REC_CRT_TS,REC_DATA_EXTRC_TS,ETL_LOG_KY)
VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)... (5 Replies)
I have a script that outputs this as a file
John Smith
----------------
memberOf: example1;sampletest;test
memberOf: example2;sampletest;test
memberOf: example3;sampletest;test
memberOf: example4;sampletest;test
A Member of 4 Groups
Sally Smith
----------------
memberOf:... (4 Replies)
Discussion started by: ajetangay
4 Replies
LEARN ABOUT DEBIAN
ecaccess-job-list
ECACCESS-JOB-LIST(1p) User Contributed Perl Documentation ECACCESS-JOB-LIST(1p)NAME
ecaccess-job-list - List all ECaccess Jobs
SYNOPSIS
ecaccess-job-list -version|-help|-manual
ecaccess-job-list [-debug] [job-id]
DESCRIPTION
List all your ECaccess Jobs. When a job-id is specified then the details for this job are displayed.
The Job statuses can have the following values:
INIT Jobs are being initialised
STDBY Jobs are waiting for an event
EXEC Jobs are running
WAIT Jobs have been queued to the scheduler (e.g. LoadLeveler)
RETR Jobs will be resubmitted
STOP Jobs have NOT completed (error)
DONE Jobs have successfully completed
ARGUMENTS
job-id (optional)
The identifier of the ECaccess Job to retrieve the details.
OPTIONS -version
Display version number and exits.
-help Print a brief help message and exits.
-manual Prints the manual page and exits.
-debug Display the SOAP messages exchanged.
EXAMPLES
ecaccess-job-list 124356
Give the informations concerning the ECaccess Job with identifier 124356.
ecaccess-job-list
List all your ECaccess Jobs in the spool.
SEE ALSO
ecaccess-queue-list, ecaccess-job-delete, ecaccess-job-get, ecaccess-job-restart, ecaccess-job-submit and ecaccess.
perl v5.14.2 2012-04-16 ECACCESS-JOB-LIST(1p)