Editing in VI

From: Dana Jaeger (jaeger@HARTHOSP.ORG)
Date: Fri Sep 20 2002 - 11:09:46 EDT


Hi,

I have a need to edit an entry via a kron shell script.
Input would be - nnnnnnnn@domain.name

a) nnnnnnnn can be letters and/or numbers, special characters and be any
                   length, uppercase or lower case .
b) domain.name could be any length before and after the dot.
                 example valied entries are A) harthosp.org
                                             B) ibm.com
                                             C) myname.ibm.com
c) @ must be present

This will be entered as a response to a question from an korn shell script
      echo "`hostname`: Enter the email address where you wish to have the
output sent"
      read emailaddress

What would the syntax be to edit for for this?

Can anyone help? Thanks in advance

Dana Jaeger
Hartford Hospital
jaeger@harthosp.org



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:13 EDT