05-16-2009
Hello Kevin,
Thats my issue,the script needs some tweaking to forfill my needs.
I need a search to include the full name ( not just is.sark.com) as such from my example:
From this one example:
bd-integ4-sarkprime,IN,NS,gss-t2i.is.sark.com.,,,
stripped to:
bd-integ4-sarkprime
and another search as:
gss-t2i.is.sark.com.
The script needs to be smart enough to accomplish this. If you have another idea, please advise.
I would appericate your help on a script that will do the needful.
Thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a requirement to search a directory, which contains any number of other directories for file names that contain special characters.
directory structure
DIR__
|__>DIR1
|__>DIR2__
|__>DIR2.1
|__>DIR2.2
|__>DIR3
..
... (8 Replies)
Discussion started by: jerardfjay
8 Replies
2. Shell Programming and Scripting
i have to point out that i'm a avid shell script lover and i have next to zero interest in perl which is why i dont know the first thing about it. however, just need to do this one thing on it..
i need to do something in perl but dont know how. I have a list of email addresses in the following... (5 Replies)
Discussion started by: Terrible
5 Replies
3. Shell Programming and Scripting
I wanted a perl script to be done for Password search & replace in two files.
For Example:
Example 1)--i am having a file such as
cat /opt/customer/Ariba/UAT/ariba/app/buyer/Server/config/Parameters.table
Example 2)--and i am having a other file in other location such as cat... (4 Replies)
Discussion started by: shellscript22
4 Replies
4. UNIX for Dummies Questions & Answers
I am using perl to perform a search and replace. It works at the command line, but not in the csh shell script
perl -pi -e 's@/Pattern@@g' $path/$file
I used the @ as my delimiter because the pattern contains "/" (3 Replies)
Discussion started by: NobluesFDT
3 Replies
5. Shell Programming and Scripting
Dear all,
I am new to perl script and would need some help for my 1st script. I wrote a script to search sprintf(buf,"%s", sourcestring) and replace with snprintf(buf, sizeof(buf),"%s", sourcestring). As snprintf() requires an extra argument, so it is not a simple search-and-replace. I need to... (1 Reply)
Discussion started by: ChaMeN
1 Replies
6. Shell Programming and Scripting
Good evening All,
I have a perl script to pull out all occurrences of a files beginning with xx and ending in .p. I will then loop through all 1K files in a directory. I can grep for xx*.p files but it gives me the entire line. I wish to output to a single colum with only the hits found. ... (3 Replies)
Discussion started by: CammyD
3 Replies
7. Shell Programming and Scripting
hi,
i have one file as t1.txt as below
hi
hello
welcome
i want perl script to search for the pattern "abcd" in the file.
if the pattern doesn't exist, i want to insert that pattern at the end of the same file t1.txt
my o/p should be
hi
hllo
welcome
abcd
thank you (3 Replies)
Discussion started by: roopa
3 Replies
8. UNIX and Linux Applications
Hi,
I want the Perl script with versions 5.8.2 and 5.8.5 starting with
#!/usr/bin/perl
The Perl program should read the excel file or text file line by line and taking into an array and search in the UNIX directories for reference file of .jsp or .js or .xsl with path .The Object names... (2 Replies)
Discussion started by: pasam
2 Replies
9. Shell Programming and Scripting
Hi,
I have a string like:
read_lib {$lib/a.lib $lib/b.lib $lib/c.lib ..... }
Now, I want to search existence of all these *.lib files in $lib directory.
Please suggest- how to do it.
Thanks
-rkg (2 Replies)
Discussion started by: rkg
2 Replies
10. UNIX for Beginners Questions & Answers
I have existing pattern in the perl script as:
my $pattern = "^Line.*?:|^Errors*: |^SEVERE:.*?:|^Null pointer exception occurred";
and I wanted to include below keywords in my search pattern
"I/O exception" and "FileNotFoundException"the problem is when I include my pattern like
my... (5 Replies)
Discussion started by: ambarginni
5 Replies
LEARN ABOUT DEBIAN
gss_release_oid_set
gss_release_oid_set(3) gss gss_release_oid_set(3)
NAME
gss_release_oid_set - API function
SYNOPSIS
#include <gss.h>
OM_uint32 gss_release_oid_set(OM_uint32 * minor_status, gss_OID_set * set);
ARGUMENTS
OM_uint32 * minor_status
(integer, modify) Mechanism specific status code.
gss_OID_set * set
(Set of Object IDs, modify) The storage associated with the
gss_OID_set will be deleted.
DESCRIPTION
Free storage associated with a GSSAPI-generated gss_OID_set object. The set parameter must refer to an OID-set that was returned from a
GSS-API routine. gss_release_oid_set() will free the storage associated with each individual member OID, the OID set's elements array, and
the gss_OID_set_desc.
The gss_OID_set parameter is set to GSS_C_NO_OID_SET on successful completion of this routine.
RETURN VALUE
`GSS_S_COMPLETE`: Successful completion.
REPORTING BUGS
Report bugs to <bug-gss@gnu.org>. GNU Generic Security Service home page: http://www.gnu.org/software/gss/ General help using GNU soft-
ware: http://www.gnu.org/gethelp/
COPYRIGHT
Copyright (C) 2003-2011 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for gss is maintained as a Texinfo manual. If the info and gss programs are properly installed at your site, the
command
info gss
should give you access to the complete manual.
gss 1.0.2 gss_release_oid_set(3)