From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 6 20:30:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 04A47B47 for ; Sat, 6 Apr 2013 20:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E1D1DF16 for ; Sat, 6 Apr 2013 20:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r36KU0Fe073736 for ; Sat, 6 Apr 2013 20:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r36KU0P1073735; Sat, 6 Apr 2013 20:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 6 Apr 2013 20:30:00 GMT Resent-Message-Id: <201304062030.r36KU0P1073735@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joe Public Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1B1BC940 for ; Sat, 6 Apr 2013 20:20:41 +0000 (UTC) (envelope-from root@ai1.alaska.net) Received: from ai1.alaska.net (ai1.alaska.net [209.112.188.15]) by mx1.freebsd.org (Postfix) with ESMTP id 4341FEC7 for ; Sat, 6 Apr 2013 20:20:39 +0000 (UTC) Received: (from root@localhost) by ai1.alaska.net (8.14.5/8.14.5) id r36KLfWL085499; Sat, 6 Apr 2013 11:21:41 -0900 (AKST) (envelope-from root) Message-Id: <201304062021.r36KLfWL085499@ai1.alaska.net> Date: Sat, 6 Apr 2013 11:21:41 -0900 (AKST) From: Joe Public To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/177673: Possible comment problem is /bin/sh X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Joe Public List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Apr 2013 20:30:01 -0000 >Number: 177673 >Category: bin >Synopsis: Possible comment problem is /bin/sh >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 06 20:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Joe Public >Release: FreeBSD 9.1-RELEASE i386 >Organization: none >Environment: System: FreeBSD 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: /bin/sh comments in a script will attach to an adjacent string. An simple example follows, but they also attach in assignments, etc. This broke 4.11 scripts, so I know sh(1) has changed since then, but I am not qualified to state whether the current or previous behavior is correct. >How-To-Repeat: #!/bin/sh echo 'a comment follows'#comment. $ ./script $ a comment follows#comment. >Fix: Requires someone knowledgeable with /bin/sh code. >Release-Note: >Audit-Trail: >Unformatted: