i have 2 lines comming out of a script o/p.below the line.
2008-10-14 05:47:05,551 INFO - LPBatch:
2008-10-14 05:47:05,575 INFO - Number of Intervals Not Inserted: 1 / 95
--------------------------------------------------------------------------
How to print the below o/p from the... (2 Replies)
Hi folks
I am not allowed to install GNU grep on AIX.
Here my code excerpt:
grep_fatal () {
/usr/sfw/bin/gegrep -B4 -A2 "FATAL|QUEUE|SIGHUP"
}
Howto the same on AIX based machine?
from manual GNU grep
‘--after-context=num’
Print num lines of trailing context after... (4 Replies)
I have several very large file that are extracts from Oracle tables. These files are formatted in XML type syntax with multiple entries like:
<ROW>
some information
more information
</ROW>
I want to grep for some words, then print all lines between <ROW> AND </ROW>. Can this be done with AWK?... (7 Replies)
Hi,
I need a help to search a pattern and print the multiple lines between them.
Input file:
Tue May 29 12:30:33 EDT 2012:threadWebContainer : 357:com.travimp.hotelierlinks.abba.service.RequestHandler.requestService(String, ITICSDataSet): hotelCancelReservation request: ... (4 Replies)
Hello Experts , require help . See below output:
File inputs
------------------------------------------
Server Host = mike
id rl images allocated last updated density
vimages expiration last read <------- STATUS ------->... (4 Replies)
Hi all,
I am struck with the below requirement. I need to grep a particular pattern in a file and then print next n lines of it for further processing.
I have used the below code
grep -A 3 "pattern" filename
But it is throwing error as below.
grep: illegal option -- A
Can... (14 Replies)
Hi all!
Thanks for taking the time to view this!
I want to grep out all lines of a file that starts with pattern 1 but also does not match with the second pattern.
Example:
Drink a soda
Eat a banana
Eat multiple bananas
Drink an apple juice
Eat an apple
Eat multiple apples
I... (8 Replies)
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Discussion started by: Klasform
9 Replies
LEARN ABOUT OSF1
prev
prev(1) General Commands Manual prev(1)NAME
prev - show the previous message (only available within the message handling system, mh)
SYNOPSIS
prev [+folder] [-[no]header] [-help] [-showproc program] [-noshowproc] [options to showproc]
OPTIONS
Displays a one-line header before the message. The header consists of the name of the folder and the message number. This is the default
behavior. It can be suppressed with the -noheader option. Prints a list of the valid options to this command. Specifies an alternative
program to list messages. The default is to use the program defined by the showproc: entry in the file. As with show, you can give options
to the showproc program at the command line. These are passed directly to showproc by prev.
The defaults for this command are:
+folder defaults to the current folder -header
DESCRIPTION
The prev command displays the previous message in the current folder. The previous message is the one before the current message in the
folder. The message that is shown becomes the current message.
You can specify a folder other than the current folder by using the +folder argument. If you specify a folder, that becomes the current
folder.
RESTRICTIONS
The prev command is really a link to the show program. As a result, if you make a link to prev and that link is not called prev, your link
will act like show instead. To avoid this, add a profile-entry for the link to your MH profile and add the argument prev to the entry.
PROFILE COMPONENTS
Path: To determine your Mail directory
showproc: Program to show the message
EXAMPLES
The command in the following example displays the previous message in the folder +copylog: $ prev +copylog
FILES
The user profile.
SEE ALSO show(1), next(1)prev(1)