NetBSD-Bugs archive

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

Re: bin/43255 (sh -n -c doesn't work)



The following reply was made to PR bin/43255; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/43255 (sh -n -c doesn't work)
Date: Mon, 22 Feb 2016 20:50:21 +0700

 From the PR (summary)
    sh -n doesn't work with sh -c. sh -n is documented as working
    when not interactive; -c is not interactive.
 
    Fix:
    probably trivial
 
 It is [trivial] and will be (is now) fixed in the sources I am working from.
 
 But there is much more wrong with -n than that - it was only barely
 implemented at all (in fact, the src/bin/sh/options.h file has it
 marked as unimplemented, like -b etc)
 
 I am going to start a thread on tech-userlevel to discuss -n and
 decide just what should be done with it...
 
 kre
 
 


Home | Main Index | Thread Index | Old Index