Ok, this is a very newbie problem,  I'm just not smart enough to
figure out how to do it.

I have text in a file that looks like this.

0 !~
Syntax: !

! repeats the last command you typed.
~

0 "REMOVE INVIS"~
Syntax: cast 'remove invis' <object>

This spell will make an invisible object in the character's inventory
visible.
This is an AGGRESSIVE spell when used on others. I.e, it will attack
another player if you attempt to use it on them.
~

and I want to reformat each section to something like this:

0 !~
 @                                                                  @
 @                                                                  @
|\|========================|\|
|\|                                                                  |
\|
|\| Syntax: !                                                   |\|
|\|                                                                  |
\|
|\| ! repeats the last command you typed.  |\|
|\|                                                                  |
\|
|\|========================|\|
 @                                                                 @
 @                                                                 @
~

each section is blocked off by #command~ and ~ (Blank Line) at the
end.

Is this possible,  if so how would I go about doing it?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to