From owner-freebsd-bugs Thu Aug 1 15:00:09 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA02202 for bugs-outgoing; Thu, 1 Aug 1996 15:00:09 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA02186; Thu, 1 Aug 1996 15:00:05 -0700 (PDT) Resent-Date: Thu, 1 Aug 1996 15:00:05 -0700 (PDT) Resent-Message-Id: <199608012200.PAA02186@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, dk@freebeer.jriver.com Received: from freebeer.jriver.com (freebeer.jriver.com [192.146.151.91]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA01776 for ; Thu, 1 Aug 1996 14:53:30 -0700 (PDT) Received: (from dk@localhost) by freebeer.jriver.com (8.7.5/8.7.3) id QAA00994; Thu, 1 Aug 1996 16:53:26 -0500 (CDT) Message-Id: <199608012153.QAA00994@freebeer.jriver.com> Date: Thu, 1 Aug 1996 16:53:26 -0500 (CDT) From: Dmitry Kohmanyuk Reply-To: dk@freebeer.jriver.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1456: /bin/sh: args not passed in `.' command Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1456 >Category: bin >Synopsis: /bin/sh: args not passed in `.' command >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 1 15:00:03 PDT 1996 >Last-Modified: >Originator: Dmitry Kohmanyuk >Organization: James River Group, Inc. >Release: FreeBSD 2.1-STABLE i386 >Environment: FreeBSD 2.1.5-RELEASE >Description: args in `.' command are not passed >How-To-Repeat: here is a sample shell session: 6 dk@fr:p3.3 ~> cat a #!/bin/sh . zuka buka 7 dk@fr:p3.3 ~> cat zuka #!/bin/sh echo zuka: $1 8 dk@fr:p3.3 ~> sh -x a + . zuka buka + echo zuka: zuka: 9 dk@fr:p3.3 ~> ksh -x a + . zuka buka + echo zuka: buka zuka: buka >Fix: I haven't investigated the source for patch yet. >Audit-Trail: >Unformatted: