I followed the egrep example given in the thread "parse text or complex grep ?". It is exactly what I need...except... how do I insert a blank line after the second line? My exact command is:
egrep 'patt1|patt2' filename
the result is:
patt1
patt2
patt1
patt2
and so on. I would... (2 Replies)
Hello friends,
I have a C source code containing sql statements. I use the following sed command to print all the sql blocks in the source code....
sed -n "/exec sql/,/;/p" Sample.cpp
The above sed command will print the sql blocks based on the pattern "exec sql" & ";"... (2 Replies)
the following range matching works great but i wish to add a blank line after each range result set... which i've tried and researched to no avail
MY INPUT DATA:
CURRENT CODE I'M USING:
sed -n '/*$/,/;/p' $INPUT_FILE
RESULTS I'M GETTING:
RESULT I looking to... (5 Replies)
Hello...
I have a file which contain certain number of records.
I want to generate another file from this file which will contain 1st line as a blank line & after every 5 lines one blank line will be inserted. How to achieve this through shell scripting?
Thanks... (5 Replies)
I use the following as part of a script to correct for a faulty hostname file.
# get the domain name
read -r thehostname < /etc/hostname
dom="$(echo $thehostname | cut -d'.' -f2)"
numchar=${#dom}
if
then
echo "It appears as though the hostname is not correctly set."
echo "Hostname has... (5 Replies)
Hi
I want to display the following input data into the tabular format as shown in the output.
Input.txt:
Following jobs are in pending state for more than 10 minutes:
JOB_ID JOB_SUBMIT_ID
MAHAR 784308
PUNJA 109367
Following jobs are running for longer time:
JOB_ID... (1 Reply)
Hi ,
i am generating some data by firing sql query with connecting to the database by my solaris box.
The below one should be the header line of my excel ,here its coming in separate row.
TO_CHAR(C. CURR_EMP_NO
---------- ---------------
LST_NM... (6 Replies)
Dears Please support
I have out put in text file and look like below
fixed inquiries - Click on MAX suffix http://server:port/app
User Details http://server:port/app
Audit User Detail Action hhttp://server:port/app
fixed inquiries - Click on MAX suffix http://server:port/app
User Details ... (13 Replies)
Hello Guys,
developing a monitoring shell script to have my queue depth count over mail .
here is the sample input file to the script which has all the queue names 1 : DISPLAY QUEUE(*) WHERE (CURDEPTH GT 0)
ZFC8409: Display Queue details.
QUEUE(QL.GVR.ATA.CACHE.01) ... (10 Replies)
Discussion started by: wims
10 Replies
LEARN ABOUT HPUX
gss_unwrap
gss_unwrap(3) Library Functions Manual gss_unwrap(3)NAME
gss_unwrap - verify a message with attached message integrity code (MIC) and decrypt message content if necessary
SYNOPSIS DESCRIPTION
The routine converts a protected message to a usable form and verifies the embedded message integrity code (MIC). The conf_state parameter
indicates whether the message was encrypted. The qop_state parameter indicates the quality of protection that was used to provide the con-
fidentiality and integrity services.
Input Parameters
context_handle Specifies the context on which the message arrived.
input_message_buffer Specifies the protected message.
output_message_buffer Specifies the buffer to receive the unwrapped message.
Output Parameters
conf_state Returns the requested level of confidentiality and integrity services, as follows:
Non-zero Both confidentiality and integrity services were used.
zero Only integrity services was used.
qop_state Returns the cryptographic algorithm, or quality of protection.
minor_status Returns a status code from the security mechanism.
STATUS CODES
The following status codes can be returned:
The routine was completed successfully.
The signature was incorrect.
The context has already expired.
The context is recognized but the associated
credentials have expired.
The token failed consistency checks.
The token was valid and contained the correct
signature but it had already been processed.
The routine failed. The context specified in the context_handle parameter was not valid.
The context identified in the
context_handle parameter was not valid.
The token was valid and contained the correct signature
but it is too old.
The token was valid, and contained a correct MIC
for the message, but has been verified out of sequence; a later token has already been received.
The token was valid, and contained a correct MIC
for the message, but has been verified out of sequence; an earlier expected token has not yet been received.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO gss_get_mic(3), gss_wrap(3).
gss_unwrap(3)