[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

"par" problem...



Hallo,

ich habe folgenden String:

----8<-----------------------------------------------------------------
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. #
----8<-----------------------------------------------------------------

und er soll nach 'par' so aussehen:

----8<------------------------------------------------------------------
# 1. Redistributions  of source code must retain the  above  copyright #
#    notice,  this  list of conditions and the  following  disclaimer. #
----8<------------------------------------------------------------------

Aber das beste ergebnis is nur:

----8<------------------------------------------------------------------
# 1. Redistributions  of source code  must retain the  above copyright #
# notice,  this  list  of  conditions and  the  following  disclaimer. #
----8<------------------------------------------------------------------

Ich will das er die zweite Zeile einrückt...

Der derzeitige Code ist:
----8<------------------------------------------------------------------
STR="# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. #"
echo "${STR}" |par "72p2s2djl"
----8<------------------------------------------------------------------

Irgendwelche Tips?

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: