I don't understand what you need. From the description I'd say that your expected output is not correct.
Maybe you are looking for something like this:
If you only want the output you have shown in your example, use a simple grep to get he lines that contain "fullName".
Exact output example of what you need would help. The descriptions are confusing, sorry.
Hi zaxxon,
sorry that my question let you all confusing
Actually I won't select all the <accession> from a long list of list. I only want to extract specific <accession> from a long list of data. From those selected <accession> detail, I want extract all of its <fullName>. Hope that you can understand my problem now
sorry if my problem give you all confusing
---------- Post updated at 07:42 PM ---------- Previous update was at 07:41 PM ----------
Hi Franklin52,
sorry that my question let you all confusing
Actually at first I won't extract all the <accession> from a long list of list. I only want to extract specific<accession> from a long list of data. From those selected<accession> detail, I want extract all of its <fullName>. Hope that you can understand my problem now
sorry if my problem give you all confusing
Hi Guys,
I have a file as follows:
a b c 1 2 3 4
pp gg gh hh 1 2 fm 3 4
g h i j k l m 1 2 3 4
d e f g h j i k l 1 2 3 f 3 4
r t y u i o p d p re 1 2 3 f 4
t y w e q w r a s p a 1 2 3 4
I am trying to extract all the 2's from each row. 2 is just an example... (6 Replies)
Hello Guyz
I have been following this forum for a while and the solutions provided are super useful. I currently have a scenario where i need to search for a pattern and start searching by keeping the first pattern as a baseline
ABC
DEF
LMN
EFG
HIJ
LMN
OPQ
In the above text i need to... (8 Replies)
Hi,
I have long string in 2nd field, as shown below:
REF1 | CLESCLJSCSHSCSMSCSNSCSRSCUDSCUFSCU7SCV1SCWPSCXGPDBACAPA0DHDPDMESED6
REF2 | SBR4PCBFPCDRSCSCG3SCHEBSCKNSCKPSCLLSCMCZXTNPCVFPCV6P4KL0DMDSDSASEWG
I have a group of fixed patterns which can occur in these long strings & only... (11 Replies)
Hi experts , im new to Unix,AWK ,and im just not able to get this right.
I need to match for some patterns if it matches I need to print the next few words to it.. I have only three such conditions to match… But I need to print only those words that comes after satisfying the first condition..... (2 Replies)
I have an application(Minecraft Server) that generates a logfile live. Using Crontab and screen I send a 'list' command every minute.
Sample Log view:
2013-06-07 19:14:37 <Willrocksyea1> hello*
2013-06-07 19:14:41 <Gromden29> hey
2013-06-07 19:14:42 Gromden29 lost connection:... (1 Reply)
Hi all,
I got a file that contains the following content, Actually it is a part of the file content,
Installing XYZ XYZA Image, API 18, revision 2
Unzipping XYZ XYZA Image, API 18, revision 2 (1%)
Unzipping XYZ XYZA Image, API 18, revision 2 (96%)
Unzipping XYZ XYZA Image, API 18,... (7 Replies)
Im using the command below , but thats not the output that i want. it only prints the odd and even numbers.
awk '{if(NR%2){print $0 > "1"}else{print $0 > "2"}}'
Im hoping for something like this
file1:
Text hi this is just a test
text1 text2 text3 text4 text5 text6
Text hi... (2 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 having a file like below . Basically when SB comes in the text with B. I have to take the word till SB. When there only B I should take take till B. Tried for cut it by demilter but not able to build the logic
SB- CD B_RESTO SB_RESTO CRYSTALS BOILERS -->There SB and B so I... (6 Replies)
Discussion started by: arunkumar_mca
6 Replies
LEARN ABOUT OSF1
evmeventnamematchstr
EvmEventNameMatch(3) Library Functions Manual EvmEventNameMatch(3)NAME
EvmEventNameMatch, EvmEventNameMatchStr - Match event name
LIBRARY
EVM Support Library (libevm.so, libevm.a)
SYNOPSIS
#include <evm/evm.h>
EvmStatus_t EvmEventNameMatch(
const char *pattern,
EvmEvent_t event,
EvmBoolean_t *match);
EvmStatus_t EvmEventNameMatchStr(
const char *pattern,
const char *candidate,
EvmBoolean_t *match);
OPERANDS
The event name pattern sought. The pattern may be any valid event name string. It may include wildcard characters in place of any compo-
nent. The event containing the event name to be compared against the pattern. The result of the match. This parameter is set to EvmTRUE
if the name matches the pattern, and to EvmFALSE if it does not. A character string to be matched against the pattern
DESCRIPTION
Because special matching rules apply when deciding whether a candidate event name matches a known name, the EVM name matching functions
should be used for matching purposes, rather than the C string comparison functions (memcpm(), strcmp()) . The EVM functions match an
event name against a supplied pattern, ignoring any trailing appended components in the candidate name, and correctly matching wildcard
characters.
The EvmEventNameMatch function takes an event and an event name pattern as input, and returns an indication of whether the event contains a
name which matches the pattern in the match output argument. The pattern may be any valid event name string, and may also include wildcard
characters in place of any component. A wildcard * in the pattern matches zero or more name components. A ? matches exactly one compo-
nent. A match occurs if the event name matches all components indicated by the pattern, even if the name has additional trailing elements.
The EvmEventNameMatchStr function performs the same check as EvmEventNameMatch, but takes a character string as the candidate event name,
rather than extracting it from a supplied event.
Both functions set the match output argument to EvmTRUE if the name matches the pattern, and to EvmFALSE if it does not.
RETURN VALUES
The comparison was successful. The value of the match parameter indicates whether the name matches the pattern. The supplied pattern con-
tains invalid characters. The supplied event does not contain a name.
ERRORS
None
FILES
None
SEE ALSO
Routines: memccpy(3), strcat(3)
Event Management: EVM(5)
EVM Events: EvmEvent(5)
Programmer's Guide delim off
EvmEventNameMatch(3)