delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/09/22:19:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "linda w \(cyg\)" <cygwin AT tlinx DOT org>
To: <cygwin AT cygwin DOT com>
Subject: >/dev/stderr broken in /bin/sh?, makewhatis unhappy, & apropos confused, or just me?
Date: Sun, 9 Mar 2003 19:18:59 -0800
Message-ID: <000001c2e6b3$cb1aa250$1403a8c0@sc.tlinx.org>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

I normally use bash and this works in bash:

echo "hello stderr" >/dev/stderr
echo "hello stdout" >/dev/stdout

But in /bin/sh:

$ echo hello stderr >/dev/stderr
cannot create /dev/stderr: directory nonexistent
$ echo hello stdout >/dev/stdout
cannot create /dev/stdout: directory nonexistent
$

---
	I'm guessing this isn't supposed to work this way?

	"makewhatis -v" doesn't like seem to like it:
law> makewhatis -v
/usr/sbin/makewhatis: cannot create /dev/stderr: directory nonexistent

	I invoked the -v when a simple "makewhatis" yielded
"cd: can't cd to /cygdrive/c/Documents"

	Apropos is a little confused about one of it's lines.
Does anyone else get garbage on this:

apropos options|wc -l|grep "^SYN"

"wc" gives this:
law> apropos options|grep "^SYN"|wc
      1    2332   13924

That's one heck of a long line.  Do I just have some junk somewhere?

I could attach it, but I don't want to unnecessarily send all that
junk out if it's easily reproducible.

linda








--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019