Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 1996 16:53:26 -0500 (CDT)
From:      Dmitry Kohmanyuk <dk@freebeer.jriver.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1456: /bin/sh: args not passed in `.' command
Message-ID:  <199608012153.QAA00994@freebeer.jriver.com>
Resent-Message-ID: <199608012200.PAA02186@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608012153.QAA00994>