It is said that there is no such thing as a stupid question - let's see:

John Daley aims at ssc-vax.UUCP
Fri Jan 24 06:56:51 AEST 1986


*** 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



More information about the Comp.unix.wizards mailing list