Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site ssc-vax.UUCP Path: utzoo!utcsri!ubc-vision!uw-beaver!ssc-vax!aims From: aims@ssc-vax.UUCP (John Daley) Newsgroups: net.unix,net.unix-wizards Subject: It is said that there is no such thing as a stupid question - let's see: Message-ID: <508@ssc-vax.UUCP> Date: Thu, 23-Jan-86 15:56:51 EST Article-I.D.: ssc-vax.508 Posted: Thu Jan 23 15:56:51 1986 Date-Received: Fri, 24-Jan-86 07:32:15 EST Distribution: net Organization: Boeing Aerospace Co., Seattle, WA Lines: 35 *** OK, I REPLACED IT - NOW WHAT? *** I'm submitting this question to you (wizards) because I don't know the answer. Is there a way to dimension buffers (arrays) in scripts, and selectivly extract portions/fields of data from them? I would like to also be able to do this with buffers in the B and C shells. Example: LONG_THANKS="Thanksinadvanceforallyourhelp" I want to take columns 1-5, add a space, and add columns 22-24. and set them into the buffer SHORT_THANKS. Example: SHORT_THANKS="Thank you" -- ################################################################################ # Ray E. Saddler III @ Boeing Aerospace Company - Ballistic Systems Division # # Tech. Applications CAD Support and Administration - BAC Scientfic Systems # # Seattle, Washington (vacation spot of the stars) USA, Earth, lost in space # ################################################################################ Disclaimer: The Boeing Company shall not be held responsible for damage caused by fire, in the event I should spontaneously (sp?) combust. G'-day. Quote: "" - unknown