<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 10 Feb 1984 15:48:55 pst
From   : cgr%ucbpopuli.CC@berkeley
Subject: SUBMIT and lowercase

     I have a question concerning SUBMIT and XSUB. My application
involves creating text files on a KayPro II (running CP/M v.  2.2) and
uploading them to a Unix system.  I would like to create a variety of
SUBMIT files to do various kinds of error correction automatically
(remove spaces at beginning and end of lines, merge multiple spaces
between words, etc., etc.).  Unfortunately, SUBMIT seems to
automatically transform my lowercase patterns into uppercase before
passing them on to ED (which can handle lowercase patterns); thus, the
following script will change "AFRICA" to "ASIA" but will not change
"AFrica" to "Africa".

     XSUB
     ED TEXT.MSS
     #A
     B
     #SAFRICA^ZASIA^Z
     B
     #SAFrica^ZAfrica^Z
     E

Words fail me.  Am I missing something?  Surely serious programmers
wouldn't write a major system program that can't handle lowercase?... 

     Is there any way to circumvent this "feature"? I'm no CP/M
wizard, but I'm willing to get my hands dirty if there's any kind of
kludge that will let me do what I want.  All suggestions gratefully
considered.  If there's sufficient interest, I'll summarize responses
for the net. 

                                   John Hevelin
                                   ucbvax!cgrucbpopuli
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>