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

Re: demangling text columns



On Sun, Jan 25, 2004 at 09:42:10PM -0800, Nano Nano wrote:
> I asked an earlier question about e-links, let me ask it another way:
> 
> Say I have a text file like:
> 
> a a a a a a
> a a a a a a       b b b b b               c c c c
>       a a a       b b b b                 c c c c 
> -----------       b b b b b 
> d d d d           b b b b b          |    e e e e e
> d d d d           b b b b b          |
> d d d d           b b b
>                   b b b b b 
> 
> Where letters represent text flow and I want to turn them into:
> 
> a a a a a a ..
> b b b b b b b b b b ...
> c c c c c ... 
> d d d d d ...
> e e e e e ...
> 
> linear text flows.  I want to do the opposite of par or fmt.
> Are there tools for that?
> 
>
Hi Nano,
if this file are in a consistent form,
send a sample. I'm sure we could hack a short (php|perl|awk) script.
-Kev

Attachment: signature.asc
Description: Digital signature


Reply to: