[Tutor] removing digits from a file
sheri
din22@home.com
Fri, 18 May 2001 06:41:22 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C0DF65.8D7945C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
hello, i am trying to write a script to remove digits from a list of =
spelling words.=20
i have a file like this:
1. that 2. cat 3. rat 4. etc...
i want to do something like this=20
=20
if char (is a digit)
delete char
so that the output file is like this:
that cat rat etc...
any help would be appreciated. thanks!
------=_NextPart_000_0007_01C0DF65.8D7945C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hello, i am trying to write a script to =
remove=20
digits from a list of spelling words. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i have a file like this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1. that 2. cat 3. rat 4. =
etc...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>i want to do something like this =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>if char (is a digit)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> delete char</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>so that the output file is like =
this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> that cat rat etc...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>any help would be appreciated.=20
thanks!</FONT></DIV></BODY></HTML>
------=_NextPart_000_0007_01C0DF65.8D7945C0--