Re: Formatting the result... ¿?

Subject: Re: Formatting the result... ¿?
From: Brandon Ibach <bibach@xxxxxxxxxxxxxx>
Date: Mon, 4 Oct 1999 01:58:54 -0500
Quoting Reyes Garcia Rosado <reyes.garcia@xxxxxxxxxx>:
> >> There is a way to take this with the next format?
> >> 	<FATHER>
> >> 	<SON-A>
> >>       ...
> 
> 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?
> 
   I'm afraid you've been bit by Unix, here. :)  The "sed" command,
above, makes use of a simple "stream editor" that comes stock with
every version of Unix (within the last couple of decades, anyway).  I
suspect there is at least one Perl script out there that will do the
same (and probably much more), and Perl is available on Windows, so
you may want to investigate that.  I'm assuming, here, that you're
running Jade under Windows, given that your mail is coming from a
Windows system.
   On this topic, perhaps it would be worth a little effort to add an
option to OpenJade which would cause the SGML backend to make its
output a little "nicer".  I don't mean to suggest that we should put a
full-blown pretty-printer in there, but at least avoid splitting the
tags up like it does now.

-Brandon :)


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread