[linux-audio-user] A dumb Unix question about console output

Steve Harris S.W.Harris at ecs.soton.ac.uk
Sun Jul 13 12:04:01 EDT 2003


On Sat, Jul 12, 2003 at 10:26:45 -0400, Larry Troxler wrote:
> > gimp 2>&1 | sed 's/^/gimp: /g' &
> >
> > 2>&1 means to redirect the standard error output to the standard output
> > ( Device 2 to device 1).
> >
> > Each error line will be preceded by the command name.
> >
> 
> Well, yes, this would work, but it seems very brain-damaged. I mean, do people 
> really use this approach to keep their output seperate?

I generally keep each app on a differnt xterm.
 
> I find it hard to believe that this is the answer. I can't imagine that it's 
> common practice for everyone to pipe into sed every time they run an X 
> program.

Well would could create start-gimp etc. scripts and put them in
/usr/local/bin. I start jack that way because it has so many arguments.

- Steve



More information about the Linux-audio-user mailing list