Name: Roland Turner
Member since: 2009-11-02 02:12:57
Last Login: 2011-09-12 15:21:31

Homepage: http://raz.cx/

Notes:

I haven't made any open-source contributions for some time,
although I intend to rectify this over the next several months.



Perhaps the most important contribution that I've made was
having the idea[1] to dual-license Mozilla as a way out of
the GPLNPL dilemma. My proposal was well received but not
implemented at the time (in particular, jwz wasn't
convinced), but some of those at Netscape who were convinced
were able to act on it after jwz left, which gave us the
now-widely-used MPL-1.1 and Mozilla (and later Firefox) able
to be linked with code under the Gnu GPL.



- Raz





1:
http://groups.google.com/group/netscape.public.mozilla.license/browse_thread/thread/f2b566d6da0cc041/1ce555f20e045538?lnk=gst&q=eureka

Recent blog entries by raz

Prefixing stdout and stderr with helpful markers

I’m testing a piece of logging code, so I care a lot about what goes where. I figured that there had to be a shell one-liner to allow me to mark stdout/stderr without any setup or code changes. Here it is:

(( some_command | sed '-es/^/stdout: /' >&3 ) 2>&1 | sed '-es/^/stderr: /') 3>&1

So, for a trivial example:

$ ((( echo out ; echo err >&2; ) | sed '-es/^/stdout: /' >&3 ) 2>&1 | sed '-es/^/stderr: /') 3>&1
stderr: err
stdout: out
$

As the example shows, sequence between stdout and stderr may not be preserved.
 

raz certified others as follows:

  • raz certified conrad as Journeyer
  • raz certified jdub as Master
  • raz certified anton as Master
  • raz certified akpm as Master
  • raz certified jeremy as Journeyer
  • raz certified shermozle as Apprentice

Others have certified raz as follows:

  • ncm certified raz as Apprentice
  • fzort certified raz as Apprentice
  • ittner certified raz as Apprentice
  • chalst certified raz as Apprentice

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page