delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/23/16:07:46

Xref: news2.mv.net comp.os.msdos.djgpp:4178
Newsgroups: comp.os.msdos.djgpp
From: biigb AT zeus DOT bris DOT ac DOT uk (I.G.Badcoe)
Subject: odd redir behaviour ?
Message-ID: <DruqD6.CIt@uns.bris.ac.uk>
Sender: usenet AT uns DOT bris DOT ac DOT uk (Usenet news owner)
Nntp-Posting-Host: zeus.bris.ac.uk
Organization: University of Bristol, England
Date: Thu, 23 May 1996 09:29:29 GMT
Lines: 30
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
	I was messing about with redir last night and I can't make it perform
as I expected.

redir -e -o x prog

lead to stdout being in x but stderr being lost

redir -o -e x prog

lead to the reverse.  So far so good, this isn't necessarily the most
convenient behaviour but it does make sense, however:

redir -eo -o x prog

lead to stdout being lost

and

redir -oe -e x prog had the same effect.

It's all a bit odd 'cos I'm almost sure it was working the other day.

Is this a FAQ ?  Am I doing somehting stupid/wrong ?  Is my setup damaged or
is this a problem in redir ?

	Badders



- Raw text -


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