Encrypting tmp swap and home

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

 



On Wed, Oct 15, 2008 at 18:40, Max Hetrick <maxhetrick@xxxxxxxxxxx> wrote:
>> html2wiki --dialect MoinMoin my_file.html | sed '/^=/s/==\(=*\)/\1/g'
>
> That changes all the headings to = Title 1 =.

No it doesn't. It removes two "=" from each line that starts with a
"=" (i.e. is a title line). So it transforms

=== title 3 ===            into   = title 1 =
==== title 4 ====        into   == title 2 ==
===== title 5 =====    into   === title 3 ===

Wasn't that what you needed?

Filipe

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux