|
Subject: Re: Formatting the result... ¿? From: Reyes Garcia Rosado <reyes.garcia@xxxxxxxxxx> Date: Mon, 04 Oct 1999 08:29:46 +0200 |
At 15:43 01.10.99 +0100, you wrote:
>
>Greetings,
>
>Reyes Garcia Rosado <reyes.garcia@xxxxxxxxxx> wrote:
>
>> There is a way to take this with the next format?
>> <FATHER>
>> <SON-A>
>> ...
>
>This very morning...
>
>% sed '/<[a-zA-Z0-9-]\+$/{:a;N;s/\n>/ >/;t z;s/\n/ /;b
a;:z;s/\(<[a-zA-Z0-9-]\+\)$/\1/;t a;}' input-file
>
>That doesn't do everything (it runs successive elements on to a single
>line to avoid introducing spurious whitespace), but it does get the
>attributes on to the same line as the element type, if that's the
>parsing problem you're having.
>
>All the best,
>
>Norman
>
Sorry, I wasn't here this weekend.
And sorry again because I don't understand, the line
% sed '/<[a-zA-Z0-9-]\+$/{:a;N;s/\n>/ >/;t z;s/\n/ /;b
a;:z;s/\(<[a-zA-Z0-9-]\+\)$/\1/;t a;}' input-file
Where must I write this?, Is this a command of Jade?
Excuse me for my ignorance... I'm new in this (I think that I have a lot of
to learn)
Regards,
Reyes
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Formatting the result... ¿?, Norman Gray | Thread | Re: Formatting the result... ¿?, Brandon Ibach |
| RE: XSL equivalent sought., Peter Nilsson | Date | Re: Formatting the result... ¿?, Brandon Ibach |
| Month |