🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #454

Arguments to 4.3BSD "sh -c" commands are mishandled

#454
From: Arthur David Olson
Date: Thu, 11 Dec 1986 23:18
15 lines
832 bytes
Index:	bin/sh 4.3BSD

Description:
	Arguments to a "sh -c" command are mishandled.

Repeat-By:
	Type in the command
		sh -c 'echo $*' a b c d
	and note the incorrect output:
		b c d
--
Sh is a trademark of the American Librarians Association.
--
	UUCP: ..decvax!seismo!elsie!ado   ARPA: elsie!ado@seismo.ARPA
	DEC, VAX, Elsie & Ado are Digital, Borden & Ampex trademarks.
Technical Details
Message-ID: <7296@elsie.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!elsie!ado

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!elsie!ado
From: ado@elsie.UUCP (Arthur David Olson)
Newsgroups: comp.bugs.4bsd
Subject: Arguments to 4.3BSD "sh -c" commands are mishandled
Message-ID: <7296@elsie.UUCP>
Date: Thu, 11-Dec-86 18:18:42 EST
Article-I.D.: elsie.7296
Posted: Thu Dec 11 18:18:42 1986
Date-Received: Sat, 13-Dec-86 22:25:02 EST
Organization: NIH-LEC, Bethesda, MD
Lines: 15