slackware question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

stderr stands for standard error, just as stdout stands for standard
out.
- ---
Joseph C. Lininger
jbahm at pcdesk.net
- ----- Original Message ----- 
From: "Jes and guide dog Harley" <jesman598@xxxxxxxxxxxx>
To: "Speakup is a screen review system for Linux."
<speakup at braille.uwo.ca>
Sent: Saturday, February 21, 2004 5:27 PM
Subject: Re: slackware question


> No Steve you didn't confuse me at all. But what does stderr stand
> fore, anyway?  
> 
> The internet used to be a network of trust, until the wrong minds
> became pros. Jes and Harley
> Email: jesman598 at triad.rr.com
> Msn instant messenger: subman70 at hotmail.com
> ----- Original Message ----- 
> From: Steve Holmes <steve at holmesgrown.com>
> To: Speakup is a screen review system for Linux.
> <speakup at braille.uwo.ca> Cc: Jes and guide dog Harley
> <jesman598 at triad.rr.com>
> Sent: Saturday, February 21, 2004 10:10 AM
> Subject: Re: slackware question
> 
> 
> I should point out some further issues with piping output to less.
> Many commands will work as mentioned in previous messages but some
> will not and here is briefly why.  Some commands for example have a
> help option invoked with -h or --help.  I just sight this as an
> example.  When doing this, some times the command help output will
> be written to STDERR.  A normal pipe with '|' will not pick up data
> from STDERR;; it only picks up STDOUT normally.  To get around
> this, just type something like this.  
> command --help |less 2>&1
> the '2>&1' part links file descriptor 1 and 2 together and includes
> them both in the pipe.  #1 is STDOUT and #2 is STDERR.  Hope I
> didn't confuse things too much but I've piped stuff to less and
> come up with an empty display or what less thinks is an empty file
> and this is how to get around that.
> 
> HTH.
> 
> On Fri, Feb 20, 2004 at 12:11:40AM -0600, Kenny Hitt wrote:
> > Hi.  Pay attention to the punctuation in the example.
> > You use a pipe. for example, the line
> > ls |less
> > 
> > will pipe the output from the ls command into less.
> > BTW, pipes are standard Unix so it should work on any distro.
> > 
> > Hope this helps.
> > 
> >           Kenny
> 
> -- 
> HolmesGrown Solutions
> The best solutions for the best price!
> http://ld.net/?holmesgrown
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3

iQA/AwUBQDlE+Senap9Jqj2wEQL0pACeL2IXZgYyH+8dgwf9vUZ5oVqUS3IAn2qL
Bvc0hzdkcEGmmNil/8ufrUIp
=oHDq
-----END PGP SIGNATURE-----





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux