[ale] grrr, sed sucks!

Christopher Bergeron christopher at bergeron.com
Sun May 11 21:52:23 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Ahh, great tip!  Thanks Josh!  (and thanks to the other replies as well).

- -CB



Josh Freeman wrote:

|If you're just trying to get the XML legible in an OpenOffice document,
|"uncheck size optimization for XML (No Pretty Printing) in the options
|panel (under "Load/Save") this will cause the XML to format legibly.
|
|Josh
|
|On Sat, 2003-05-10 at 18:01, Christopher Bergeron wrote:
|
|>-----BEGIN PGP SIGNED MESSAGE-----
|>Hash: SHA1
|>
|>Can anyone tell my this won't work:
|>
|>sed     "s/></>^M</g"    content.xml
|>
|>I'm trying to convert every occurrence of  ><   (between xml tags) into  
|> >newline< in a staroffice content.xml file.  For some reason, it's not
|>working, and it's absolutely making me crazy.  I've check the FAQs,
|>docs, man page, etc... but I can't figure out what I'm doing wrong here.
|>
|>Does anyone have any insight?  Did I miss something obvious?
|>
|>Thanks again,
|>CB
|>
|>
|>-----BEGIN PGP SIGNATURE-----
|>Version: GnuPG v1.2.1 (MingW32)
|>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
|>
|>iD8DBQE+vXbVTKCy0t3zQgURAsaoAJ4/5EkERFF+2KCsGwua5GI+XPJNCQCeMM1n
|>RNRKmJb5bi/LDzn/oodxZzI=
|>=7ZYe
|>-----END PGP SIGNATURE-----
|>
|>
|>_______________________________________________
|>Ale mailing list
|>Ale at ale.org
|>http://www.ale.org/mailman/listinfo/ale


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQE+vv5WTKCy0t3zQgURAlzzAJ9sow+mcS47rQhk4rH2WIihwgsJZACg7Zvh
9wTdPil5EVJzfTU9NuKGnOQ=
=T6Ya
-----END PGP SIGNATURE-----


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list