It is showing like that output because you are giving an OR condition which means any of these words if they are coming into a line then print it(so that is why other than 1st lines are getting printed too because any of the words are coming there), if words sequence will be same as per shown sample Input_file then following may help you in same.
Thanks,
R. Singh
These 2 Users Gave Thanks to RavinderSingh13 For This Post:
:cool: fedora core 2 version 2.6.8-1.521 gnu/linux
the last version of redhat that I was working with linux 8.0 a special version that came with a book.. on this version and on spider tools linux 0.9 the second version I worked with.. when i envoked egrep -e from file1 to file2 I would get the... (4 Replies)
I'd like to grep a pattern of a version number as
*_number.number.number
number should be digit
my grep is
|egrep '^*++\.+'
It works for V_3.2.1 or V _5.3.2 but not with V_43.6.543 !!!!!
How can I specify any repetition of digit in the ?
thanks, (4 Replies)
Hi All,
I am using egrep command to search one pattern. Following is the command i am using
egrep -i "ACL*" filename
but its also giving me the records which do not contain ACL.
any help would be appreciated.
Regards,
Sam (3 Replies)
Hi All,
I am having a query regarding the usage of egrep command.
i am having two unix environmanets in environment when i am using
"egrep -f" it is working fine and other unix environment i am getting a syntax error.
Please let me know if i need to set any environmane variables.
... (12 Replies)
Hi All,
Here is my question.
I have two files, file1.txt and file2.txt. I need the line number (index number) of file2.txt where the words in file1.txt appear. But they have to be in the same order as file1.txt. In example,
file1.txt
Z
K
A
...
T
file2.txt
W
A
Q
R (6 Replies)
Hi,
I'm trying to validate if a string matches a regular expression, but it is not working. Am I missing something? Do I need to scape any of the characters?
if echo 'en-GB' | egrep '({1,8})(-{1,8})*' >/dev/null; then
echo Valid value
fi
Thanks in advance (6 Replies)
cat /tmp/inventory.csv|grep AARP|egrep -v "T11|12.4\(7\)"
how do i exclude in addition to above 12.4\(3\)
I have tried adding this in i.e
-v "T11|12.4\(7\)|12.4\(3\)"
but it did not work (3 Replies)
Hello folks,
Here's how my current egrep command works:
egrep "NY|DC|LA|VA|MD" state_data.txt
I am planning to use a file to enter all allowable state values like say a new state_names.lookup with the following data:
NY
DC
LA
VA
MD
egrep "`cat state_names.lookup`"... (6 Replies)
Hi Guys,
I need hepl on egrep commnad
I have one file and i need grep only specific lines..
EX:
2012-04-01 02:15:14 w
2012-04-01 02:15:14 w
2012-04-01 02:15:14 w
2012-10-26 02:15:14 w
2012-04-01 02:15:14 w
2012-10-26 02:15:14 w
2012-10-26 02:15:14 w
2012-10-26 03:18:56 M... (1 Reply)
Hi,
I am trying to find out patterns in file 1 using patterns stored in file 2. Following is the code
FILE1=inputfilename
FILE2=blacklist
blacklist
1203
97715555
20afEOF
egrep -f $FILE2 $FILE1
but the above code is not working either using egrep or grep. Just for your... (10 Replies)
Discussion started by: siramitsharma
10 Replies
LEARN ABOUT DEBIAN
globus_gsi_credential_constants
Credential Constants(3) globus gsi credential Credential Constants(3)NAME
Credential Constants -
Enumerations
enum globus_gsi_cred_error_t { GLOBUS_GSI_CRED_ERROR_SUCCESS = 0, GLOBUS_GSI_CRED_ERROR_READING_PROXY_CRED = 1,
GLOBUS_GSI_CRED_ERROR_READING_HOST_CRED = 2, GLOBUS_GSI_CRED_ERROR_READING_SERVICE_CRED = 3, GLOBUS_GSI_CRED_ERROR_READING_CRED = 4,
GLOBUS_GSI_CRED_ERROR_WRITING_CRED = 5, GLOBUS_GSI_CRED_ERROR_WRITING_PROXY_CRED = 6, GLOBUS_GSI_CRED_ERROR_CHECKING_PROXY = 7,
GLOBUS_GSI_CRED_ERROR_VERIFYING_CRED = 8, GLOBUS_GSI_CRED_ERROR_WITH_CRED = 9, GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT = 10,
GLOBUS_GSI_CRED_ERROR_WITH_CRED_PRIVATE_KEY = 11, GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_CHAIN = 12, GLOBUS_GSI_CRED_ERROR_ERRNO = 13,
GLOBUS_GSI_CRED_ERROR_SYSTEM_CONFIG = 14, GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS = 15, GLOBUS_GSI_CRED_ERROR_WITH_SSL_CTX =
16, GLOBUS_GSI_CRED_ERROR_WITH_CALLBACK_DATA = 17, GLOBUS_GSI_CRED_ERROR_CREATING_ERROR_OBJ = 18,
GLOBUS_GSI_CRED_ERROR_KEY_IS_PASS_PROTECTED = 19, GLOBUS_GSI_CRED_ERROR_NO_CRED_FOUND = 20, GLOBUS_GSI_CRED_ERROR_SUBJECT_CMP = 21,
GLOBUS_GSI_CRED_ERROR_GETTING_SERVICE_NAME = 22, GLOBUS_GSI_CRED_ERROR_BAD_PARAMETER = 23, GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_NAME
= 24, GLOBUS_GSI_CRED_ERROR_LAST = 25 }
enum globus_gsi_cred_type_t
Enumeration Type Documentation
enum globus_gsi_cred_error_t
Credential Error codes.
Enumerator:
GLOBUS_GSI_CRED_ERROR_SUCCESS
Success - never used.
GLOBUS_GSI_CRED_ERROR_READING_PROXY_CRED
Failed to read proxy credential.
GLOBUS_GSI_CRED_ERROR_READING_HOST_CRED
Failed to read host credential.
GLOBUS_GSI_CRED_ERROR_READING_SERVICE_CRED
Failed to read service credential.
GLOBUS_GSI_CRED_ERROR_READING_CRED
Failed to read user credential.
GLOBUS_GSI_CRED_ERROR_WRITING_CRED
Failed to write credential.
GLOBUS_GSI_CRED_ERROR_WRITING_PROXY_CRED
Failed to write proxy credential.
GLOBUS_GSI_CRED_ERROR_CHECKING_PROXY
Error checking for proxy credential.
GLOBUS_GSI_CRED_ERROR_VERIFYING_CRED
Failed to verify credential.
GLOBUS_GSI_CRED_ERROR_WITH_CRED
Invalid credential.
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT
Invalid certificate.
GLOBUS_GSI_CRED_ERROR_WITH_CRED_PRIVATE_KEY
Invalid private key.
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_CHAIN
Invalid certificate chain.
GLOBUS_GSI_CRED_ERROR_ERRNO
System error.
GLOBUS_GSI_CRED_ERROR_SYSTEM_CONFIG
A Globus GSI System Configuration call failed.
GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS
Invalid credential handle attributes.
GLOBUS_GSI_CRED_ERROR_WITH_SSL_CTX
Faulty SSL context.
GLOBUS_GSI_CRED_ERROR_WITH_CALLBACK_DATA
Faulty callback data.
GLOBUS_GSI_CRED_ERROR_CREATING_ERROR_OBJ
Failed to aggregate errors.
GLOBUS_GSI_CRED_ERROR_KEY_IS_PASS_PROTECTED
Error reading private key - the key is password protected.
GLOBUS_GSI_CRED_ERROR_NO_CRED_FOUND
Couldn't find credential to read.
GLOBUS_GSI_CRED_ERROR_SUBJECT_CMP
Credential subjects do not compare.
GLOBUS_GSI_CRED_ERROR_GETTING_SERVICE_NAME
Unable to obtain service name from CN entry.
GLOBUS_GSI_CRED_ERROR_BAD_PARAMETER
Invalid function parameter.
GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_NAME
Failed to process certificate subject.
GLOBUS_GSI_CRED_ERROR_LAST
End marker - never used.
enum globus_gsi_cred_type_t
Credential Type
An enum representing a GSI Credential Type which holds info about the type of a particular credential. The three types of credential can
be: GLOBUS_PROXY, GLOBUS_USER, or GLOBUS_HOST.
See also:
Credential Handle Management
Author
Generated automatically by Doxygen for globus gsi credential from the source code.
Version 5.3 Mon Apr 30 2012 Credential Constants(3)