Sponsored Content
Top Forums Shell Programming and Scripting EMail Address Validation (Shell Script) Post 302318047 by vgersh99 on Wednesday 20th of May 2009 03:41:51 PM
Old 05-20-2009
Here's one discussion thread on the email address subject.
This is NOT a complete solution as one would have to implement the RFC 821, RFC 822, RFC 733.
Use Google to find other sources.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Email address verification script

Hi Group, Please forgive in case this is discussed. I need help regarding a simple script to verify if the give address exist in the Ldap directory. If the email exists the script should exit with a 0 status or else a non zero status. I am currently using the following script (and it is... (4 Replies)
Discussion started by: Ramdas
4 Replies

2. Shell Programming and Scripting

IP address validation function

Hi does anybody have a ksh/sh/bash function that i can embed into my script that i could use to validate an inputted IP address, I tried using one big long regular expression but it got very long and complicated ie #!/bin/ksh echo " Please enter your IP address" read IP ---some function... (6 Replies)
Discussion started by: hcclnoodles
6 Replies

3. Shell Programming and Scripting

Need help in file validation by shell script

Hi I am new to this forum.I need a help in the following: We receve pipe delimited file with transaction ID,tran_date,Quest_cd,Ans_cd,ans_value. Same transaction ID can be repeated with different quest_cd and ans_cd. Basically I need to check if a perticular pair of quest_cd and ans_cd... (1 Reply)
Discussion started by: srichakra
1 Replies

4. Shell Programming and Scripting

Validation in shell script.

PICKUPDIR=/home/ready/ DROPDIR=/home/downloaded/ TODAY=$(date '+%d%m%y') LOGFILE=xyz-$TODAY.log ########### #FUNCTIONS# ########### #function to perform file transfer to servercopy folder opalO () { cd $PICKUPDIR for fileName in `ls -1 TES_ONE*` do cp $fileName $DROPDIR done } >>... (4 Replies)
Discussion started by: ravigupta2u
4 Replies

5. Shell Programming and Scripting

how to write script to change email address

we have 4000 html pages that need an email address changed. eg) company@yahoo.com to company@hotmail.com we only want the file modified date to be changed when there has been a change to the file. Should I be using grep? I fairly new to UNIX and was told to using something like... (2 Replies)
Discussion started by: mchelle_99
2 Replies

6. Shell Programming and Scripting

Shell script validation using process.

Hi All, I have a shell script in Linux and it will be invoked by 2 methods, 1) An automated background process . 2) Logining into the box and directly executing the script. I need to put a validation in my shell script such that it will be executed successfully on when an... (11 Replies)
Discussion started by: vininx
11 Replies

7. Shell Programming and Scripting

String validation in shell script

Hi All, I am a newbie...I would like to have a function which ll check if a file contains valid strings before "=" operator. Just to give you my requirement: assume my file has content: hello= gsdgsd sfdsg sgdsg sgdgdg world= gggg hhhh iiiii xxxx= pppp ppppp pppp my... (1 Reply)
Discussion started by: rtagarra
1 Replies

8. UNIX for Dummies Questions & Answers

Validation to be added in the shell script

I need help with one of my shell script. The script is working fine but i need to add two condition - i need to get rid of all the below ftp messages and need to have only ftp completed or failed message. example when i run the script i get below lines - Connected to xxxx 220 (vsFTPd... (1 Reply)
Discussion started by: chandraprakash
1 Replies

9. Shell Programming and Scripting

Help with validation of URLs in shell script

hello every one I wrote the script to validate all the urls from my server . sourcing text file which contains the list of urls and trying to check every url and based on response printing url is up or not. the issue when i use the below code with url is printing url exist and and in loop it's... (3 Replies)
Discussion started by: markjohn1
3 Replies
SOAP::WSDL::Manual::FAQ(3pm)				User Contributed Perl Documentation			      SOAP::WSDL::Manual::FAQ(3pm)

NAME
SOAP::WSDL::Manual::FAQ - Frequently Asked Questions (and answers) Development status Can I use SOAP::WSDL in a production environment? Yes. SOAP::WSDL is used in production environments. You should - as always - apply common sense and take appropriate safety measures, especially if running SOAP::WSDL as a server. Can I throw the WSDL away after generating? Please don't. Future versions of SOAP::WSDL may require you to re-generate interfaces in order to use them. SOAP
/WSDL Version and message styles Which SOAP / WSDL versions does SOAP::WSDL support? SOAP1.1 and WSDL1.1. SOAP1.2 and WSDL2 are not supported yet. Which SOAP message Styles are supported? document/literal. The message / encoding styles rpc/encoded and rpc/literal are not supported (rpc/literal is hardly used). rpc/literal is not implemented yet. Unfortunately, SOAP::WSDL can't even parse many rpc/encoded WSDL definitions, and thus cannot inform you about unsupported message styles in some situations. Aren't rpc variants bad anyway? No. They can be as well-defined and useful as the document/literal variant. The difference between rpc and document is that rpc SOAP messages have an additional container named after the remote procedure called. rpc/literal is RPC with named parameters, whereas rpc/encoded corresponds to positional parameters. rpc/encoded is prohibited by the WS-I Basic Profile. However, rpc/encoded is still popular, especially for scripting languages like perl, python or php. You should probably use SOAP::Lite for rpc/encoded web services. All the document/rpc literal/encoded discussion will cede with WSDL2.0: These variants are dropped in favour of an extensible operation style mechanism. XML Parsing / Generation Does SOAP::WSDL support namespaces? Well, sort of. SOAP::WSDL can use WSDL definitions containing namespaces, and emits SOAP messages with namespace information. Its SOAP message parser however, is not namespace sensitive but uses the pre-shared information from the WSDL for looking up what each XML node means. SOAP::WSDL can parse SOAP messages including namespace information up to the point where equally named elements from different namespaces may appear at the same position. This is a long-standing feature request and will eventually be resolved. Validation Does SOAP::WSDL perform XML Schema Validation? No, SOAP::WSDL does not perform XML Schema Validation. It does, however, enforce the correct structure on both XML and perl data. Occurrence, ordering, value-spaces, and identity constraints are not checked. Does SOAP::WSDL perform XML Validation? No, SOAP::WSDL does not perform XML Validation (that is, validation against a DTD). WS-I prohibits the use of DTDs in WSDL definitions. Isn't validation required for XML? No. The XML Specification does not require validation from XML processors. It states how validating and non-validating parsers must react on errors. Note: Validation in the context of (only) XML actually means DTD validation. And doesn't XML Schema require validation? The XML Schema specification requires conformant XML Schema processors to be able to validate XML Schema constraints. SOAP::WSDL is not a conformant XML Schema processor in this sense, as it does not validate all XML Schema constraints. And does SOAP require XML Schema Validation? No. The SOAP1.1 note does not say anything about validation. The SOAP1.2. specification explicitly states that XML Schema validation is not required for the SOAP envelope, and that applications may decide whether they need XML Schema Validation for the SOAP payload or not. The WSDL 1.1. specification does not mandate XML Schema validation. It does actually not even mandate the use of XML Schema for type definitions. Can SOAP::WSDL parse SOAP message fragments? No. SOAP::WSDL can parse neither well-formed nor not-well-formed SOAP message chunks. Persistence Can I use Storable to freeze/thaw SOAP::WSDL's objects? You can freeze almost all of SOAP::WSDL's objects. The only exceptions are the objects used in parsing WSDL definitions itself - they cannot be frozen. Note that freezing/thawing inside-out objects comes with a performance penalty and is at around the speed of XML generation/parsing. Performance and memory consumption How fast is SOAP::WSDL? As of this writing, SOAP::WSDL is the fastest SOAP Client toolkit for perl available on CPAN. There are no published server benchmarks yet. If you need extra speed you can try SOAP::WSDL_XS available from SOAP::WSDL's subversion repository at: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL_XS/trunk Note however that SOAP::WSDL_XS is not very mature yet and only suitable for use in trusted environments - you definitely should not use it on a public internet SOAP server yet. Note further that SOAP::WSDL's inside-out objects come with a big performance penalty when freezing/thawing them with Storable. There's a lot of perl modules generated. Don't they eat up all my memory? SOAP::WSDL usually uses a bit more memory than SOAP::Lite, but less than XML::Compile. Test if in question. perl v5.10.1 2010-12-21 SOAP::WSDL::Manual::FAQ(3pm)
All times are GMT -4. The time now is 11:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy