From gd78059@sac.sfbay.sun.com Wed Mar 10 16:29:02 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2B0T2og013531
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 10 Mar 2010 16:29:02 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2B0T0OD019954;
	Wed, 10 Mar 2010 18:29:01 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ300M0DDCD0Q00@nwk-avmta-2.sfbay.sun.com>; Wed,
 10 Mar 2010 16:29:01 -0800 (PST)
Received: from dm-sfbay-02.sfbay.sun.com ([129.146.11.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ300KCFDCCHP90@nwk-avmta-2.sfbay.sun.com>; Wed,
 10 Mar 2010 16:29:00 -0800 (PST)
Received: from sac.sfbay.sun.com (sac.SFBay.Sun.COM [129.146.226.132])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2B0T0RO025187; Wed, 10 Mar 2010 16:29:00 -0800 (PST)
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2B0SxeI013505; Wed,
 10 Mar 2010 16:28:59 -0800 (PST)
Received: (from gd78059@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id o2B0SxXu013501; Wed,
 10 Mar 2010 16:28:59 -0800 (PST)
Date: Wed, 10 Mar 2010 16:28:59 -0800 (PST)
From: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>
Subject: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
To: PSARC-ext@sun.com
Cc: olga.kryzhanovska@gmail.com, shell-discuss@opensolaris.org
Message-id: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
Status: RO
Content-Length: 4536


Template Version: @(#)sac_nextcase 1.69 02/15/10 SMI
This information is Copyright 2010 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 open source sed
    1.2. Name of Document Author/Supplier:
	 Author:  Olga Kryzhanovska
    1.3  Date of This Document:
	10 March, 2010
4. Technical Description

I'm sponsoring this fast-track request on behalf of the
POSIX utility community and shell project.
Please note that this is an *open* case.

The release binding is the same as with the ksh93 project: a
patch/micro release of Solaris delivering through ON
Stability levels are as described below.


This project is an amendment to the Korn Shell 93 Integration project
(PSARC/2006/550 and PSARC/2007/035, PSARC/2008/094, PSARC/2008/344
and PSARC/2008/589) specifying the following additional
interfaces:
Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed

This case proposes to deliver the following features as a set of
independent putbacks as they become available. Each feature is
self contained and independent of the others, so out of order
and partial putbacks at this granularity should have no adverse
impact on the functionality and behavior of the system as a whole.



Bug/RFE Number(s):

6687656 RFE: Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed



Interface                         Stability        Description                             
---------                         ---------        -----------  
/usr/bin/sed                      See man page     sed command
/usr/xpg4/bin/sed                 See man page     sed command
ksh93 builtin /usr/xpg4/bin/sed   See man page     sed command


The following options will be supported additionally to the existing
-n, -e, -f options for BSD and GNU compatibility:
  -b, --strip-blanks
                  Strip leading blanks from a, c, and i text.
  -e, --expression=script
                  Append the editing commands in script to the end
                  of the the editing command script. script may
                  contain more than one newline separated command.
  -f, --file=script-file
                  Append the editing commands in script-file to the
                  end of the the editing command script.
  -n, --quiet|silent
                  Suppress the default output in which each line,
                  after it is examined for editing, is written to
                  standard output. Only lines explicitly selected
                  for output will be written.
  -A|X, --augmented
                  Enable augmented regular expressions; this
                  includes negation and conjunction, i.e. xgrep(1)
		  style
  -E|r, --extended|regexp-extended
                  Enable extended regular expressions, i.e.,
                  egrep(1) style.
  -O, --lenient   Enable lenient regular expression interpretation.
                  This is the default for /usr/bin/sed
  -S, --strict|posix
                  Enable strict regular expression interpretation.
                  This is the default for /usr/xpg4/bin/sed
  -m              multi-digit-reference?Enable \dd multi-digit
                  backreferences.
  -d              Ignored by this implementation for BSD
                  compatibility.
  -u, --unbuffered
                  Unbuffered output.

The interface stability of the new options is described in the
manual page.



Notes
-----
1. Multibyte character support in /usr/bin/sed
Previous implementations of /usr/bin/sed had unspecified behaviour
if multibyte characters are encountered. Part are they handled
as multibyte characters, part are they handled as bytes and part
are they handled as input from outer space (random values).
To fix this situation the new implementation will treat multibyte
characters as characters.
The old behaviour can be emulated by invoking sed with
LC_ALL=C sed <options> <file>. This will treat all input as bytes.

2. Compatibility of old and new /usr/bin/sed implementations:
Modulo correction of the bug as in the NOTES, we believe that this
new version can act as a 100% compatible drop in for the legacy sed
programs.



Future directions
-----------------
A future case will add /usr/bin/sedcomp to provide a sed script
compiler.


Materials:
- Man page for sed.1:
  Original: manpage_sed_1_old.txt
  New:      manpage_sed_1_new.txt


6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open


From James.McPherson@sun.com Wed Mar 10 16:32:30 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2B0WTco013606
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 10 Mar 2010 16:32:29 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2B0WTaY022412
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 10 Mar 2010 18:32:29 -0600 (CST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ300D03DI5UJ00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 10 Mar 2010 17:32:29 -0700 (MST)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ3008QFDI58LD0@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 10 Mar 2010 17:32:29 -0700 (MST)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2B0WTwp011239	for
 <PSARC-ext@sun.com>; Thu, 11 Mar 2010 00:32:29 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZ300700DD3XH00@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 10 Mar 2010 17:32:29 -0700 (MST)
Received: from [192.168.1.10] ([unknown] [118.107.9.231])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KZ3006BADHYIBD0@mail-amer.sun.com>; Wed,
 10 Mar 2010 17:32:27 -0700 (MST)
Date: Thu, 11 Mar 2010 10:32:19 +1000
From: "James C. McPherson" <James.McPherson@sun.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
Sender: James.McPherson@sun.com
To: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>
Cc: PSARC-ext@sun.com, olga.kryzhanovska@gmail.com,
        shell-discuss@opensolaris.org
Reply-to: James.McPherson@sun.com
Message-id: <4B983A13.9010505@Sun.COM>
Organization: Sun Microsystems
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100214
 Lightning/1.0b1 Thunderbird/3.0.1
Status: RO
Content-Length: 1132

On 11/03/10 10:28 AM, Garrett D'Amore - sun microsystems wrote:
>
> Template Version: @(#)sac_nextcase 1.69 02/15/10 SMI
> This information is Copyright 2010 Sun Microsystems
> 1. Introduction
>      1.1. Project/Component Working Name:
> 	 open source sed
>      1.2. Name of Document Author/Supplier:
> 	 Author:  Olga Kryzhanovska
>      1.3  Date of This Document:
> 	10 March, 2010
> 4. Technical Description
>
> I'm sponsoring this fast-track request on behalf of the
> POSIX utility community and shell project.
> Please note that this is an *open* case.
>
> The release binding is the same as with the ksh93 project: a
> patch/micro release of Solaris delivering through ON
> Stability levels are as described below.
>
>
> This project is an amendment to the Korn Shell 93 Integration project
> (PSARC/2006/550 and PSARC/2007/035, PSARC/2008/094, PSARC/2008/344
> and PSARC/2008/589) specifying the following additional
> interfaces:
> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed


+1e10000 from me.



James C. McPherson
--
Senior Software Engineer, Solaris
Oracle
http://www.jmcp.homeunix.com/blog

From gdamore@Sun.COM Wed Mar 10 16:36:25 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2B0aPPf013794
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 10 Mar 2010 16:36:25 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2B0aOEw000912
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 10 Mar 2010 16:36:25 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ300E01DOPBH00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 10 Mar 2010 17:36:25 -0700 (MST)
Received: from sca-es-mail-2.sun.com ([192.18.43.133])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ3008AXDOO8MD0@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 10 Mar 2010 17:36:24 -0700 (MST)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2B0aO9H020736	for
 <PSARC-ext@sun.com>; Wed, 10 Mar 2010 16:36:24 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZ300700DDZK800@fe-sfbay-09.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 10 Mar 2010 16:36:24 -0800 (PST)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KZ300AXRDON6S60@fe-sfbay-09.sun.com>; Wed,
 10 Mar 2010 16:36:24 -0800 (PST)
Date: Wed, 10 Mar 2010 16:36:23 -0800
From: "Garrett D'Amore" <gdamore@Sun.COM>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4B983A13.9010505@Sun.COM>
Sender: Garrett.Damore@Sun.COM
To: James.McPherson@Sun.COM
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@Sun.COM, olga.kryzhanovska@gmail.com,
        shell-discuss@opensolaris.org
Message-id: <4B983B07.1000100@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Lightning/1.0b1 Thunderbird/3.0.1
Status: RO
Content-Length: 1466

It would be interesting to survey the closed-bins and find out how many 
of those were still required to build open source ON.  I wonder how much 
closer this case will bring us?  It certainly can't *hurt*.  :-)

     - Garrett


On 03/10/10 04:32 PM, James C. McPherson wrote:
> On 11/03/10 10:28 AM, Garrett D'Amore - sun microsystems wrote:
>>
>> Template Version: @(#)sac_nextcase 1.69 02/15/10 SMI
>> This information is Copyright 2010 Sun Microsystems
>> 1. Introduction
>>      1.1. Project/Component Working Name:
>>      open source sed
>>      1.2. Name of Document Author/Supplier:
>>      Author:  Olga Kryzhanovska
>>      1.3  Date of This Document:
>>     10 March, 2010
>> 4. Technical Description
>>
>> I'm sponsoring this fast-track request on behalf of the
>> POSIX utility community and shell project.
>> Please note that this is an *open* case.
>>
>> The release binding is the same as with the ksh93 project: a
>> patch/micro release of Solaris delivering through ON
>> Stability levels are as described below.
>>
>>
>> This project is an amendment to the Korn Shell 93 Integration project
>> (PSARC/2006/550 and PSARC/2007/035, PSARC/2008/094, PSARC/2008/344
>> and PSARC/2008/589) specifying the following additional
>> interfaces:
>> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>
>
> +1e10000 from me.
>
>
>
> James C. McPherson
> -- 
> Senior Software Engineer, Solaris
> Oracle
> http://www.jmcp.homeunix.com/blog


From olga.kryzhanovska@gmail.com Wed Mar 10 16:42:25 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2B0gP3I013899
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 10 Mar 2010 16:42:25 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2B0gIPC001275;
	Wed, 10 Mar 2010 17:42:22 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ30021JDYL0K00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 10 Mar 2010 16:42:21 -0800 (PST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ300JI5DYKOT50@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 10 Mar 2010 16:42:20 -0800 (PST)
Received: from relay15i.sun.com
 (ip125.net129179-4.block1.us.syntegra.com [129.179.4.125])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2B0ec2G002456; Thu,
 11 Mar 2010 00:42:20 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay15i.sun.com with ESMTP id BT-MMP-2076243; Thu,
 11 Mar 2010 00:42:20 +0000 (Z)
Received: from relay14i.sun.com (relay14i.sun.com [129.179.4.124])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-54186400; Thu,
 11 Mar 2010 00:42:18 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-22876576; Thu,
 11 Mar 2010 00:42:17 +0000 (Z)
Received: by bwz22 with SMTP id 22so2393811bwz.8 for <multiple recipients>;
 Wed, 10 Mar 2010 16:42:07 -0800 (PST)
Received: by 10.204.39.200 with SMTP id h8mr2771997bke.97.1268268127571; Wed,
 10 Mar 2010 16:42:07 -0800 (PST)
Date: Thu, 11 Mar 2010 01:42:07 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4B983B07.1000100@sun.com>
To: "Garrett D'Amore" <gdamore@sun.com>
Cc: James.McPherson@sun.com,
        "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <e21eff1d1003101642y1e1df6bdx6cd63212e0381bc3@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type;
 bh=fhp/9s6pkYuO0RxL1fJWl5kI0BI5yELt76nf9oQ/GL8=;
 b=hPMB7yDjRwzL5oddb8imca3zKVU/Sh4vLj67jFAjSPwqp0foHbQ/BFawjwYfzyEjoV
 57/qM/vgSQLimphAAyA60AZl4rSfZNlzSqatXugAzpO1LPXraL4SKdde82xbc3C0mJqB
 pE7JqqrrktXKHWAi3hwLfRXBuKnbLL+RnvGuE=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 b=XeQQhXnFcS+ZFC/4syQxJQGGisrPUR24xo5XBfqtFLOy1EP2Y5tEC/mfGd6CAhHs0H
 97DwgXuKsrYqXsu1/6YUS4GXcm9U3Oh44xmBIXOzPhhyKIJX7PwbOvzLW04cJ3P/ZnJF
 7uVJzcmfqHvOzYfaSPtcF3WjGD95I4dere674=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-2.6/5.0, scanned in 2.118sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
Status: RO
Content-Length: 2119

We have code to tackle all closed POSIX utilities and add BSD and GNU
options, too. We only have to write ARC cases, get them approved
without getting torn into pieces and integrate the code.

Olga

On Thu, Mar 11, 2010 at 1:36 AM, Garrett D'Amore <gdamore@sun.com> wrote:
> It would be interesting to survey the closed-bins and find out how many of
> those were still required to build open source ON.  I wonder how much closer
> this case will bring us?  It certainly can't *hurt*.  :-)
>
>    - Garrett
>
>
> On 03/10/10 04:32 PM, James C. McPherson wrote:
>>
>> On 11/03/10 10:28 AM, Garrett D'Amore - sun microsystems wrote:
>>>
>>> Template Version: @(#)sac_nextcase 1.69 02/15/10 SMI
>>> This information is Copyright 2010 Sun Microsystems
>>> 1. Introduction
>>>     1.1. Project/Component Working Name:
>>>     open source sed
>>>     1.2. Name of Document Author/Supplier:
>>>     Author:  Olga Kryzhanovska
>>>     1.3  Date of This Document:
>>>    10 March, 2010
>>> 4. Technical Description
>>>
>>> I'm sponsoring this fast-track request on behalf of the
>>> POSIX utility community and shell project.
>>> Please note that this is an *open* case.
>>>
>>> The release binding is the same as with the ksh93 project: a
>>> patch/micro release of Solaris delivering through ON
>>> Stability levels are as described below.
>>>
>>>
>>> This project is an amendment to the Korn Shell 93 Integration project
>>> (PSARC/2006/550 and PSARC/2007/035, PSARC/2008/094, PSARC/2008/344
>>> and PSARC/2008/589) specifying the following additional
>>> interfaces:
>>> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>>
>>
>> +1e10000 from me.
>>
>>
>>
>> James C. McPherson
>> --
>> Senior Software Engineer, Solaris
>> Oracle
>> http://www.jmcp.homeunix.com/blog
>
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`

From Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com Thu Mar 11 01:13:20 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2B9DJSw007611
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 01:13:19 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2B9DImK017133
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 11 Mar 2010 02:13:18 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ4005031M6HF00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Thu, 11 Mar 2010 01:13:18 -0800 (PST)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400I6J1M5D2D0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Thu,
 11 Mar 2010 01:13:17 -0800 (PST)
Received: from relay14i.sun.com
 (ip124.net129179-4.block1.us.syntegra.com [129.179.4.124])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2B9DGPl005177	for
 <PSARC-ext@Sun.COM>; Thu, 11 Mar 2010 09:13:17 +0000 (GMT)
Received: from mmp13es.mmp.us.syntegra.com ([160.41.208.13] [160.41.208.13])
 by relay14i.sun.com with ESMTP id BT-MMP-2103157 for PSARC-ext@Sun.COM; Thu,
 11 Mar 2010 09:13:16 +0000 (Z)
Received: from relay15i.sun.com (relay15i.sun.com [129.179.4.125])
 by mmp13es.mmp.us.syntegra.com with ESMTP id BT-MMP-52714456 for
 PSARC-ext@Sun.COM; Thu, 11 Mar 2010 09:13:14 +0000 (Z)
Received: from relay04-haj2.antispameurope.com ([83.246.65.54] [83.246.65.54])
 by relay1i.sun.com with ESMTP id BT-MMP-25332336 for PSARC-ext@Sun.COM; Thu,
 11 Mar 2010 09:13:14 +0000 (Z)
Received: by relay04-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000)
	id 8B0185EC26F; Thu, 11 Mar 2010 10:13:12 +0100 (CET)
Received: from pluto.fokus.fraunhofer.de
 (pluto.fokus.fraunhofer.de [195.37.77.164])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)	by relay04-haj2.antispameurope.com
 (ASE-Secure-MTA) with ESMTP id CCA5E5EC243; Thu,
 11 Mar 2010 10:13:10 +0100 (CET)
Received: from EXCHSRV.fokus.fraunhofer.de
 (bohr.fokus.fraunhofer.de [10.147.9.231])	by pluto.fokus.fraunhofer.de
 (8.14.2/8.14.2) with SMTP id o2B9DBxv016865; Thu,
 11 Mar 2010 10:13:11 +0100 (MET)
Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with
 Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Mar 2010 10:13:10 +0100
Date: Thu, 11 Mar 2010 10:13:10 +0100
From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4B983B07.1000100@sun.com>
Sender: Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com
To: James.McPherson@sun.com, gdamore@sun.com
Cc: shell-discuss@opensolaris.org, PSARC-ext@sun.com,
        gd78059@sac.sfbay.sun.com
Message-id: <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 2.179sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
User-Agent: nail 11.22 3/20/05
X-OriginalArrivalTime: 11 Mar 2010 09:13:10.0859 (UTC)
 FILETIME=[1239E9B0:01CAC0FB]
Status: RO
Content-Length: 762

"Garrett D'Amore" <gdamore@Sun.COM> wrote:

> It would be interesting to survey the closed-bins and find out how many 
> of those were still required to build open source ON.  I wonder how much 
> closer this case will bring us?  It certainly can't *hurt*.  :-)

I am still wondering why some cases are considered and other much older cases 
such as replacing pax by the "pax"-CLI from star seems to be completely 
ignored. Isn't this something that should change?

Jrg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jrg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

From ceri@submonkey.net Thu Mar 11 03:12:48 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BBCmi4009432
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 03:12:48 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2BBCie7042811;
	Thu, 11 Mar 2010 04:12:45 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400D1L759AB00@nwk-avmta-1.sfbay.Sun.COM>; Thu,
 11 Mar 2010 03:12:45 -0800 (PST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400851758AVB0@nwk-avmta-1.sfbay.Sun.COM>; Thu,
 11 Mar 2010 03:12:45 -0800 (PST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BBCi6B006639; Thu,
 11 Mar 2010 11:12:44 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay13i.sun.com with ESMTP id BT-MMP-2123858; Thu,
 11 Mar 2010 11:12:43 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-247176; Thu,
 11 Mar 2010 11:12:43 +0000 (Z)
Received: from scuttle.submonkey.net ([208.111.43.184] [208.111.43.184])
 by relay1i.sun.com with ESMTP id BT-MMP-24604479; Thu,
 11 Mar 2010 11:12:43 +0000 (Z)
Received: from cpc1-cdif1-0-0-cust63.cdif.cable.ntl.com
 ([81.104.164.64] helo=shrike.submonkey.net)	by scuttle.submonkey.net with
 esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256)	(Exim 4.69)
	(envelope-from <ceri@submonkey.net>)	id 1NpgJj-000671-DX; Thu,
 11 Mar 2010 11:12:39 +0000
Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <ceri@submonkey.net>)	id 1NpgJh-000Pb7-A9; Thu,
 11 Mar 2010 11:12:37 +0000
Date: Thu, 11 Mar 2010 11:12:37 +0000
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
Sender: Ceri Davies <ceri@submonkey.net>
To: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>
Cc: James.McPherson@sun.com, gdamore@sun.com, PSARC-ext@sun.com,
        shell-discuss@opensolaris.org, gd78059@sac.sfbay.sun.com
Message-id: <20100311111237.GA16243@submonkey.net>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary=h31gzZEtNLTqOjlF
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-PGP: finger ceri@FreeBSD.org
X-Antispam: No, score=0.0/5.0, scanned in 0.150sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Status: RO
Content-Length: 1418


--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 11, 2010 at 10:13:10AM +0100, Joerg Schilling wrote:
> "Garrett D'Amore" <gdamore@Sun.COM> wrote:
>=20
> > It would be interesting to survey the closed-bins and find out how many=
=20
> > of those were still required to build open source ON.  I wonder how muc=
h=20
> > closer this case will bring us?  It certainly can't *hurt*.  :-)
>=20
> I am still wondering why some cases are considered and other much older c=
ases=20
> such as replacing pax by the "pax"-CLI from star seems to be completely=
=20
> ignored. Isn't this something that should change?

At the risk of setting fire to something, I think that's still awaiting som=
eone
to do that work, isn't it?

If replacing pax is very important, I'd be willing to port FreeBSD's
libarchive [1] and frontends.  I suspect that it is not, though.

Ceri

[1] http://code.google.com/p/libarchive/
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--h31gzZEtNLTqOjlF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iD8DBQFLmNAkocfcwTS3JF8RAgiUAKCk+rPsQmE1yCdTN3FfyNvvaWerWgCgx5OV
bIqj9wq/nOTc9oEiQcbkunw=
=Jabx
-----END PGP SIGNATURE-----

--h31gzZEtNLTqOjlF--

From olga.kryzhanovska@gmail.com Thu Mar 11 03:15:00 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BBEx1w009456
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 03:14:59 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2BBEvBe044028;
	Thu, 11 Mar 2010 04:14:57 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400K0578XDX00@nwk-avmta-2.sfbay.sun.com>; Thu,
 11 Mar 2010 03:14:57 -0800 (PST)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400HRQ78W0040@nwk-avmta-2.sfbay.sun.com>; Thu,
 11 Mar 2010 03:14:56 -0800 (PST)
Received: from relay11i.sun.com
 (ip121.net129179-4.block1.us.syntegra.com [129.179.4.121])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BBCYrI010337;
 Thu, 11 Mar 2010 11:14:56 +0000 (GMT)
Received: from mmp13es.mmp.us.syntegra.com ([160.41.208.13] [160.41.208.13])
 by relay11i.sun.com with ESMTP id BT-MMP-1222629; Thu,
 11 Mar 2010 11:14:56 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp13es.mmp.us.syntegra.com with ESMTP id BT-MMP-52957095; Thu,
 11 Mar 2010 11:14:55 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-4901306; Thu,
 11 Mar 2010 11:14:55 +0000 (Z)
Received: by bwz22 with SMTP id 22so27075bwz.8 for <multiple recipients>; Thu,
 11 Mar 2010 03:14:46 -0800 (PST)
Received: by 10.204.151.91 with SMTP id b27mr709508bkw.110.1268306086671; Thu,
 11 Mar 2010 03:14:46 -0800 (PST)
Date: Thu, 11 Mar 2010 12:14:46 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <20100311111237.GA16243@submonkey.net>
To: Ceri Davies <ceri@submonkey.net>
Cc: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>,
        James.McPherson@sun.com, gdamore@sun.com, PSARC-ext@sun.com,
        shell-discuss@opensolaris.org, gd78059@sac.sfbay.sun.com
Message-id: <e21eff1d1003110314m41f6eee5ic87f6061f488d2ab@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type;
 bh=IgeP2fsbD3zYyiSgm9i1CN7hgh3DMLfrPW63aRw6NBM=;
 b=rQb/bLaSN9dPnaJpvu55V7TJEUMpKyeHdkfONyzDZH+yHiDfaXIewPxtKDxSFn2Xjx
 ltV7vrZUR7pKUgXvbRbiEvAPSCxB21Dk8NkmjJqH0c259QDQAUkJNjfU5ogHYzL02aqq
 OZKGNwqNTe6qHhCi+KynvcRdlQD5FbMI8pVt4=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 b=dC/D2P4SVdi5ObZbDXTz4V7kFEq0WEuRLLnQE1S6Rjr4rx33UlCPhS3Z1aeyAY2ZeS
 if7hL0HqD9pLkKt76f7sI9Nc9m3IBMo1WIvWbLUq2apjvliaVDEIdnRK5w43kMNFY3Mp
 ZMPURdqGrnmSKgMIv6xImESFre8NLxT9249+8=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.063sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
Status: RO
Content-Length: 1463

pax is already covered, too. We only have to do the ARC case.

Olga

On Thu, Mar 11, 2010 at 12:12 PM, Ceri Davies <ceri@submonkey.net> wrote:
> On Thu, Mar 11, 2010 at 10:13:10AM +0100, Joerg Schilling wrote:
>> "Garrett D'Amore" <gdamore@Sun.COM> wrote:
>>
>> > It would be interesting to survey the closed-bins and find out how many
>> > of those were still required to build open source ON.  I wonder how much
>> > closer this case will bring us?  It certainly can't *hurt*.  :-)
>>
>> I am still wondering why some cases are considered and other much older cases
>> such as replacing pax by the "pax"-CLI from star seems to be completely
>> ignored. Isn't this something that should change?
>
> At the risk of setting fire to something, I think that's still awaiting someone
> to do that work, isn't it?
>
> If replacing pax is very important, I'd be willing to port FreeBSD's
> libarchive [1] and frontends.  I suspect that it is not, though.
>
> Ceri
>
> [1] http://code.google.com/p/libarchive/
> --
> That must be wonderful!  I don't understand it at all.
>                                                  -- Moliere
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`

From Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com Thu Mar 11 03:26:42 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BBQgaM009536
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 03:26:42 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2BBQewg052616
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 11 Mar 2010 04:26:42 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400L117SH5M00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 11 Mar 2010 03:26:41 -0800 (PST)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400G307SGZW50@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 11 Mar 2010 03:26:40 -0800 (PST)
Received: from relay44i.sun.com ([192.5.209.118])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BBJVgE020166	for
 <PSARC-ext@sun.com>; Thu, 11 Mar 2010 11:26:40 +0000 (GMT)
Received: from mmp43es.mmp.us.syntegra.com ([160.41.221.12] [160.41.221.12])
 by relay44i.sun.com with ESMTP id BT-MMP-1996541 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 11:26:39 +0000 (Z)
Received: from relay43i.sun.com (relay43i.sun.com [192.5.209.74])
 by mmp43es.mmp.us.syntegra.com with ESMTP id BT-MMP-34954251 for
 PSARC-ext@sun.com; Thu, 11 Mar 2010 11:26:39 +0000 (Z)
Received: from relay03-haj2.antispameurope.com ([83.246.65.53] [83.246.65.53])
 by relay4i.sun.com with ESMTP id BT-MMP-11767370 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 11:26:38 +0000 (Z)
Received: by relay03-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000)
	id 379F463C19A; Thu, 11 Mar 2010 12:26:36 +0100 (CET)
Received: from pluto.fokus.fraunhofer.de
 (pluto.fokus.fraunhofer.de [195.37.77.164])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)	by relay03-haj2.antispameurope.com
 (ASE-Secure-MTA) with ESMTP id 4CBDE63C14B; Thu,
 11 Mar 2010 12:26:33 +0100 (CET)
Received: from EXCHSRV.fokus.fraunhofer.de
 (bohr.fokus.fraunhofer.de [10.147.9.231])	by pluto.fokus.fraunhofer.de
 (8.14.2/8.14.2) with SMTP id o2BBQX6x020290; Thu,
 11 Mar 2010 12:26:33 +0100 (MET)
Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with
 Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Mar 2010 12:26:33 +0100
Date: Thu, 11 Mar 2010 12:26:33 +0100
From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <20100311111237.GA16243@submonkey.net>
Sender: Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com
To: ceri@submonkey.net
Cc: shell-discuss@opensolaris.org, PSARC-ext@sun.com, James.McPherson@sun.com,
        gdamore@sun.com, gd78059@sac.sfbay.sun.com
Message-id: <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.2/5.0, scanned in 0.607sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
User-Agent: nail 11.22 3/20/05
X-OriginalArrivalTime: 11 Mar 2010 11:26:33.0234 (UTC)
 FILETIME=[B4036F20:01CAC10D]
Status: RO
Content-Length: 1594

Ceri Davies <ceri@submonkey.net> wrote:

> On Thu, Mar 11, 2010 at 10:13:10AM +0100, Joerg Schilling wrote:
> > "Garrett D'Amore" <gdamore@Sun.COM> wrote:
> > 
> > > It would be interesting to survey the closed-bins and find out how many 
> > > of those were still required to build open source ON.  I wonder how much 
> > > closer this case will bring us?  It certainly can't *hurt*.  :-)
> > 
> > I am still wondering why some cases are considered and other much older cases 
> > such as replacing pax by the "pax"-CLI from star seems to be completely 
> > ignored. Isn't this something that should change?
>
> At the risk of setting fire to something, I think that's still awaiting someone
> to do that work, isn't it?

It first requires a sign of will from people inside Sun/Oracle as we the 
Community currently cannot directly influence/control the software that comes 
with Solaris.

Note that star compiles/works on more than 30 Platforms including Solaris. There 
is no need to work on the code unless somebody is able to express a wishlist 
for changes in star and this list gets accepted.

> If replacing pax is very important, I'd be willing to port FreeBSD's

It is more important to finally integrate star in general. FreeBSDs libarchive 
misses a lot of the features found in star.

Jrg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jrg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

From Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com Thu Mar 11 03:30:36 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BBUasJ009609
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 03:30:36 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2BBUZKo055267
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 11 Mar 2010 04:30:36 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400L017YZG300@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 11 Mar 2010 03:30:35 -0800 (PST)
Received: from sca-ea-mail-1.sun.com ([192.18.43.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400GQ47YZZV40@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 11 Mar 2010 03:30:35 -0800 (PST)
Received: from relay43i.sun.com ([192.5.209.74])
	by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2BBUYEx000038	for
 <PSARC-ext@sun.com>; Thu, 11 Mar 2010 11:30:34 +0000 (GMT)
Received: from mmp42es.mmp.us.syntegra.com ([160.41.221.11] [160.41.221.11])
 by relay43i.sun.com with ESMTP id BT-MMP-470258 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 11:30:34 +0000 (Z)
Received: from relay41i.sun.com (relay41i.sun.com [192.5.209.70])
 by mmp42es.mmp.us.syntegra.com with ESMTP id BT-MMP-35167547 for
 PSARC-ext@sun.com; Thu, 11 Mar 2010 11:30:34 +0000 (Z)
Received: from relay02-haj2.antispameurope.com ([83.246.65.52] [83.246.65.52])
 by relay4i.sun.com with ESMTP id BT-MMP-2800106 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 11:30:34 +0000 (Z)
Received: by relay02-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000)
	id 6E11B6F0431; Thu, 11 Mar 2010 12:30:13 +0100 (CET)
Received: from pluto.fokus.fraunhofer.de
 (pluto.fokus.fraunhofer.de [195.37.77.164])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)	by relay02-haj2.antispameurope.com
 (ASE-Secure-MTA) with ESMTP id ECE266F0422; Thu,
 11 Mar 2010 12:30:11 +0100 (CET)
Received: from EXCHSRV.fokus.fraunhofer.de
 (bohr.fokus.fraunhofer.de [10.147.9.231])	by pluto.fokus.fraunhofer.de
 (8.14.2/8.14.2) with SMTP id o2BBUCcF020394; Thu,
 11 Mar 2010 12:30:12 +0100 (MET)
Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with
 Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Mar 2010 12:30:11 +0100
Date: Thu, 11 Mar 2010 12:30:12 +0100
From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <e21eff1d1003110314m41f6eee5ic87f6061f488d2ab@mail.gmail.com>
Sender: Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com
To: olga.kryzhanovska@gmail.com, ceri@submonkey.net
Cc: shell-discuss@opensolaris.org, PSARC-ext@sun.com, James.McPherson@sun.com,
        gdamore@sun.com, gd78059@sac.sfbay.sun.com
Message-id: <4b98d444.QQ1GALC9HM0lXy5G%Joerg.Schilling@fokus.fraunhofer.de>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.063sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <e21eff1d1003110314m41f6eee5ic87f6061f488d2ab@mail.gmail.com>
User-Agent: nail 11.22 3/20/05
X-OriginalArrivalTime: 11 Mar 2010 11:30:11.0953 (UTC)
 FILETIME=[36614E10:01CAC10E]
Status: RO
Content-Length: 429

????? ???????????? <olga.kryzhanovska@gmail.com> wrote:

> pax is already covered, too. We only have to do the ARC case.

???

How?

Jrg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jrg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

From ceri@submonkey.net Thu Mar 11 03:34:39 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BBYdrE009647
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 03:34:39 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2BBYaXX058463;
	Thu, 11 Mar 2010 04:34:36 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400L0385OOM00@nwk-avmta-2.sfbay.sun.com>; Thu,
 11 Mar 2010 03:34:36 -0800 (PST)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400HS185O0140@nwk-avmta-2.sfbay.sun.com>; Thu,
 11 Mar 2010 03:34:36 -0800 (PST)
Received: from relay41i.sun.com ([192.5.209.70])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2BBYZ5L001358;
 Thu, 11 Mar 2010 11:34:36 +0000 (GMT)
Received: from mms49es.mms.us.syntegra.com ([160.41.221.232] [160.41.221.232])
 by relay41i.sun.com with ESMTP id BT-MMP-2071753; Thu,
 11 Mar 2010 11:34:35 +0000 (Z)
Received: from relay42i.sun.com (relay42i.sun.com [192.5.209.72])
 by mms49es.mms.us.syntegra.com with ESMTP id BT-MMP-34596459; Thu,
 11 Mar 2010 11:34:35 +0000 (Z)
Received: from scuttle.submonkey.net ([208.111.43.184] [208.111.43.184])
 by relay4i.sun.com with ESMTP id BT-MMP-50893469; Thu,
 11 Mar 2010 11:34:35 +0000 (Z)
Received: from cpc1-cdif1-0-0-cust63.cdif.cable.ntl.com
 ([81.104.164.64] helo=shrike.submonkey.net)	by scuttle.submonkey.net with
 esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256)	(Exim 4.69)
	(envelope-from <ceri@submonkey.net>)	id 1Npgeo-0006T4-DU; Thu,
 11 Mar 2010 11:34:26 +0000
Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <ceri@submonkey.net>)	id 1Npgem-00010L-AN; Thu,
 11 Mar 2010 11:34:24 +0000
Date: Thu, 11 Mar 2010 11:34:24 +0000
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
Sender: Ceri Davies <ceri@submonkey.net>
To: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>
Cc: shell-discuss@opensolaris.org, PSARC-ext@sun.com, James.McPherson@sun.com,
        gdamore@sun.com, gd78059@sac.sfbay.sun.com
Message-id: <20100311113424.GB16243@submonkey.net>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary=24zk1gE8NUlDmwG9
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-PGP: finger ceri@FreeBSD.org
X-Antispam: No, score=0.0/5.0, scanned in 0.279sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Status: RO
Content-Length: 1901


--24zk1gE8NUlDmwG9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 11, 2010 at 12:26:33PM +0100, Joerg Schilling wrote:
> Ceri Davies <ceri@submonkey.net> wrote:
>=20
> > On Thu, Mar 11, 2010 at 10:13:10AM +0100, Joerg Schilling wrote:
> > > "Garrett D'Amore" <gdamore@Sun.COM> wrote:
> > >=20
> > > > It would be interesting to survey the closed-bins and find out how =
many=20
> > > > of those were still required to build open source ON.  I wonder how=
 much=20
> > > > closer this case will bring us?  It certainly can't *hurt*.  :-)
> > >=20
> > > I am still wondering why some cases are considered and other much old=
er cases=20
> > > such as replacing pax by the "pax"-CLI from star seems to be complete=
ly=20
> > > ignored. Isn't this something that should change?
> >
> > At the risk of setting fire to something, I think that's still awaiting=
 someone
> > to do that work, isn't it?
>=20
> It first requires a sign of will from people inside Sun/Oracle as we the=
=20
> Community currently cannot directly influence/control the software that c=
omes=20
> with Solaris.

I disagree.

> > If replacing pax is very important, I'd be willing to port FreeBSD's
>=20
> It is more important to finally integrate star in general. FreeBSDs libar=
chive=20
> misses a lot of the features found in star.

Perhaps, but I don't want to work on star.

Either way, this all seems to be OBE now.

Ceri
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--24zk1gE8NUlDmwG9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iD8DBQFLmNVAocfcwTS3JF8RAnP9AJ94hmafBiEFX4n+ihKzJVQh6Cf8HQCgtifO
U6GPB53HnAZ7Jkx/0axybHU=
=jmfV
-----END PGP SIGNATURE-----

--24zk1gE8NUlDmwG9--

From Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com Thu Mar 11 03:36:52 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BBaqc4009666
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 03:36:52 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2BBapMW014503
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 11 Mar 2010 05:36:52 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400J0D89FJK00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 11 Mar 2010 03:36:51 -0800 (PST)
Received: from sca-ea-mail-4.sun.com ([192.18.43.22])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ40085V89FAZC0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 11 Mar 2010 03:36:51 -0800 (PST)
Received: from relay15i.sun.com
 (ip125.net129179-4.block1.us.syntegra.com [129.179.4.125])
	by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BBaou3007403	for
 <PSARC-ext@sun.com>; Thu, 11 Mar 2010 11:36:51 +0000 (GMT)
Received: from mmp12es.mmp.us.syntegra.com ([160.41.208.12] [160.41.208.12])
 by relay15i.sun.com with ESMTP id BT-MMP-2103968 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 11:36:50 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp12es.mmp.us.syntegra.com with ESMTP id BT-MMP-54968487 for
 PSARC-ext@sun.com; Thu, 11 Mar 2010 11:36:48 +0000 (Z)
Received: from relay03-haj2.antispameurope.com ([83.246.65.53] [83.246.65.53])
 by relay1i.sun.com with ESMTP id BT-MMP-24650594 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 11:36:48 +0000 (Z)
Received: by relay03-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000)
	id 9E01163C0F7; Thu, 11 Mar 2010 12:36:47 +0100 (CET)
Received: from pluto.fokus.fraunhofer.de
 (pluto.fokus.fraunhofer.de [195.37.77.164])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)	by relay03-haj2.antispameurope.com
 (ASE-Secure-MTA) with ESMTP id AB64F63C0F7; Thu,
 11 Mar 2010 12:36:45 +0100 (CET)
Received: from EXCHSRV.fokus.fraunhofer.de
 (bohr.fokus.fraunhofer.de [10.147.9.231])	by pluto.fokus.fraunhofer.de
 (8.14.2/8.14.2) with SMTP id o2BBaj2Z020547; Thu,
 11 Mar 2010 12:36:45 +0100 (MET)
Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with
 Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Mar 2010 12:36:45 +0100
Date: Thu, 11 Mar 2010 12:36:45 +0100
From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <20100311113424.GB16243@submonkey.net>
Sender: Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com
To: ceri@submonkey.net
Cc: shell-discuss@opensolaris.org, PSARC-ext@sun.com, James.McPherson@sun.com,
        gdamore@sun.com, gd78059@sac.sfbay.sun.com
Message-id: <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 1.511sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311113424.GB16243@submonkey.net>
User-Agent: nail 11.22 3/20/05
X-OriginalArrivalTime: 11 Mar 2010 11:36:45.0109 (UTC)
 FILETIME=[20B82650:01CAC10F]
Status: RO
Content-Length: 854

Ceri Davies <ceri@submonkey.net> wrote:

> > It first requires a sign of will from people inside Sun/Oracle as we the 
> > Community currently cannot directly influence/control the software that comes 
> > with Solaris.
>
> I disagree.

Why?


> > > If replacing pax is very important, I'd be willing to port FreeBSD's
> > 
> > It is more important to finally integrate star in general. FreeBSDs libarchive 
> > misses a lot of the features found in star.
>
> Perhaps, but I don't want to work on star.

Why? 
And Why do you believe you need to work on it?

Jrg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jrg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

From ceri@submonkey.net Thu Mar 11 03:43:17 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BBhHTU009710
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 03:43:17 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2BBhEWU003723;
	Thu, 11 Mar 2010 03:43:15 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400M0B8K39200@nwk-avmta-2.sfbay.sun.com>; Thu,
 11 Mar 2010 03:43:15 -0800 (PST)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400GUU8K3ZV50@nwk-avmta-2.sfbay.sun.com>; Thu,
 11 Mar 2010 03:43:15 -0800 (PST)
Received: from relay11i.sun.com
 (ip121.net129179-4.block1.us.syntegra.com [129.179.4.121])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BBhE7n016106;
 Thu, 11 Mar 2010 11:43:14 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay11i.sun.com with ESMTP id BT-MMP-1224015; Thu,
 11 Mar 2010 11:41:14 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-55238172; Thu,
 11 Mar 2010 11:41:14 +0000 (Z)
Received: from scuttle.submonkey.net ([208.111.43.184] [208.111.43.184])
 by relay1i.sun.com with ESMTP id BT-MMP-24658817; Thu,
 11 Mar 2010 11:41:13 +0000 (Z)
Received: from cpc1-cdif1-0-0-cust63.cdif.cable.ntl.com
 ([81.104.164.64] helo=shrike.submonkey.net)	by scuttle.submonkey.net with
 esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256)	(Exim 4.69)
	(envelope-from <ceri@submonkey.net>)	id 1NpglA-0006aX-5Z; Thu,
 11 Mar 2010 11:41:00 +0000
Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <ceri@submonkey.net>)	id 1Npgl3-000OuU-BU; Thu,
 11 Mar 2010 11:40:53 +0000
Date: Thu, 11 Mar 2010 11:40:53 +0000
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
Sender: Ceri Davies <ceri@submonkey.net>
To: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>
Cc: shell-discuss@opensolaris.org, PSARC-ext@sun.com, James.McPherson@sun.com,
        gdamore@sun.com, gd78059@sac.sfbay.sun.com
Message-id: <20100311114053.GC16243@submonkey.net>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary=uXxzq0nDebZQVNAZ
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-PGP: finger ceri@FreeBSD.org
X-Antispam: No, score=0.0/5.0, scanned in 0.097sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311113424.GB16243@submonkey.net>
 <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Status: RO
Content-Length: 1630


--uXxzq0nDebZQVNAZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 11, 2010 at 12:36:45PM +0100, Joerg Schilling wrote:
> Ceri Davies <ceri@submonkey.net> wrote:
>=20
> > > It first requires a sign of will from people inside Sun/Oracle as we =
the=20
> > > Community currently cannot directly influence/control the software th=
at comes=20
> > > with Solaris.
> >
> > I disagree.
>=20
> Why?

Because my experience has been that if you sit down and write the code
(including the bits to get it to build and package properly in ON) and
the ARC case, participate fully in the code review and work it through
to the end then you can get code in.

> > > > If replacing pax is very important, I'd be willing to port FreeBSD's
> > >=20
> > > It is more important to finally integrate star in general. FreeBSDs l=
ibarchive=20
> > > misses a lot of the features found in star.
> >
> > Perhaps, but I don't want to work on star.
>=20
> Why?=20

The honest answer to that is because you seem to believe that it is perfect.

> And Why do you believe you need to work on it?

The integration with ON isn't done, as far as I'm aware.

Ceri
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--uXxzq0nDebZQVNAZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iD8DBQFLmNbFocfcwTS3JF8RAsgzAJ4keQP7Wgu/emqtE6obF2wkZCmLnQCcDGqx
YGh1ImDvtzrqAqrs3sbQenM=
=IEwr
-----END PGP SIGNATURE-----

--uXxzq0nDebZQVNAZ--

From iszczesniak@gmail.com Thu Mar 11 03:56:25 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BBuODt010063
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 03:56:25 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2BBuKQh025939;
	Thu, 11 Mar 2010 05:56:23 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ40010D95YWE00@nwk-avmta-1.sfbay.Sun.COM>; Thu,
 11 Mar 2010 03:56:22 -0800 (PST)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ4008T195XAVE0@nwk-avmta-1.sfbay.Sun.COM>; Thu,
 11 Mar 2010 03:56:21 -0800 (PST)
Received: from relay14i.sun.com
 (ip124.net129179-4.block1.us.syntegra.com [129.179.4.124])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BBuLLA029037; Thu,
 11 Mar 2010 11:56:21 +0000 (GMT)
Received: from mmp12es.mmp.us.syntegra.com ([160.41.208.12] [160.41.208.12])
 by relay14i.sun.com with ESMTP id BT-MMP-2111680; Thu,
 11 Mar 2010 11:56:21 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp12es.mmp.us.syntegra.com with ESMTP id BT-MMP-55003373; Thu,
 11 Mar 2010 11:56:20 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-24687301; Thu,
 11 Mar 2010 11:56:20 +0000 (Z)
Received: by mail-bw0-f222.google.com with SMTP id 22so60312bwz.8 for <multiple
 recipients>; Thu, 11 Mar 2010 03:56:15 -0800 (PST)
Received: by 10.204.132.7 with SMTP id z7mr3495309bks.148.1268308574446; Thu,
 11 Mar 2010 03:56:14 -0800 (PST)
Date: Thu, 11 Mar 2010 12:56:13 +0100
From: "I. Szczesniak" <iszczesniak@gmail.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4B983A13.9010505@Sun.COM>
To: James.McPherson@sun.com
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <cd45720b1003110356k34cf32cemadbe3475d73979c9@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type;
 bh=vg8seBSgqCBdBooNeFJglpaTNuTlNOALou2A/OYOhSs=;
 b=aZUg2a9XGPdbqbYMbCMZ1FRrxICqtjLaO0LxD+l1UIHfx3QkVI/g2iTtnTScTQ09FP
 cq8gstxgze7cUJP149zo61dxUSHavU270wxgmzCMM3U3U+PYMCGIOfnh3XVSCQ+FdtwO
 XlThA0durKdX84zrfxJE6aa9K9Ims0Q07CgVo=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 b=TasCpTSqoqIHYx97ASmCx/U04s7GXyPKbwiQOoKASHzhAA4DVmwKOozjV/JGmyqCRt
 fyOyYHEKrniy07caXyAcitTgjUK9Rg80Ip68YWG/JQzkbKpDv8yRI8mX0pYO2DxzvhV1
 ee/3bmySXFA9ZjAYJLp1u0w5qfrv15U6GkpKM=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-1.1/5.0, scanned in 0.059sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM>
Status: RO
Content-Length: 1183

On Thu, Mar 11, 2010 at 1:32 AM, James C. McPherson
<James.McPherson@sun.com> wrote:
> On 11/03/10 10:28 AM, Garrett D'Amore - sun microsystems wrote:
>>
>> Template Version: @(#)sac_nextcase 1.69 02/15/10 SMI
>> This information is Copyright 2010 Sun Microsystems
>> 1. Introduction
>>     1.1. Project/Component Working Name:
>>         open source sed
>>     1.2. Name of Document Author/Supplier:
>>         Author:  Olga Kryzhanovska
>>     1.3  Date of This Document:
>>        10 March, 2010
>> 4. Technical Description
>>
>> I'm sponsoring this fast-track request on behalf of the
>> POSIX utility community and shell project.
>> Please note that this is an *open* case.
>>
>> The release binding is the same as with the ksh93 project: a
>> patch/micro release of Solaris delivering through ON
>> Stability levels are as described below.
>>
>>
>> This project is an amendment to the Korn Shell 93 Integration project
>> (PSARC/2006/550 and PSARC/2007/035, PSARC/2008/094, PSARC/2008/344
>> and PSARC/2008/589) specifying the following additional
>> interfaces:
>> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>
>
> +1e10000 from me.

+1 from me.

Irek

From iszczesniak@gmail.com Thu Mar 11 03:57:43 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BBvhqE010080
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 03:57:43 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2BBvfWe028993;
	Thu, 11 Mar 2010 03:57:43 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400L039863100@brm-avmta-1.central.sun.com>; Thu,
 11 Mar 2010 04:57:42 -0700 (MST)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ40067S9821LB0@brm-avmta-1.central.sun.com>; Thu,
 11 Mar 2010 04:57:42 -0700 (MST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BBvbbC018676;
 Thu, 11 Mar 2010 11:57:38 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay13i.sun.com with ESMTP id BT-MMP-2126045; Thu,
 11 Mar 2010 11:55:37 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-323968; Thu,
 11 Mar 2010 11:55:37 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-24685887; Thu,
 11 Mar 2010 11:55:37 +0000 (Z)
Received: by bwz22 with SMTP id 22so60312bwz.8 for <multiple recipients>; Thu,
 11 Mar 2010 03:55:35 -0800 (PST)
Received: by 10.204.135.153 with SMTP id n25mr1752649bkt.156.1268308534350;
 Thu, 11 Mar 2010 03:55:34 -0800 (PST)
Date: Thu, 11 Mar 2010 12:55:34 +0100
From: "I. Szczesniak" <iszczesniak@gmail.com>
Subject: Schilling-style case hijacking (was: Re: open source sed
	[PSARC/2010/086 FastTrack timeout 03/17/2010])
To: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>
Cc: ceri@submonkey.net, PSARC-ext@sun.com, gdamore@sun.com,
        shell-discuss@opensolaris.org, gd78059@sac.sfbay.sun.com
Message-id: <cd45720b1003110355n37c236f7yc6eaa6472742258a@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject
 :from:to:cc:content-type:content-transfer-encoding;
 bh=6pzTfTJ0+jqXmB3qgSHnhflIwQZ0EP91+nFwbEB7d1s=;
 b=F7/F6ePtxZZw0LcvDDsNQLriAmttuIr4LQaQhh4LYE1sJSinwh7Z9OFnCwK1CttUbZ
 LEx4nVkznKGTR0spvQO/nfz7+wVBwJsIhasF96xLnhoziEnHe5p6rSxnazkjrGMbJMHw
 pgdsCtRwCrN0FgyTBTV6HRQyb0DPzc0PWI5CA=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:date:message-id:subject:from:to:cc:content-type
 :content-transfer-encoding;
 b=wbL88DpoeA9aHn4cLe5NUv+dB1OXhQElaZHKJDyh/Lpd9Tdd5U0vvPRf/HfVYoDG68
 qdXJYn6DUggUFZSjMIdCrdW48y4uHIAUYT1epLr9muSUXg2qbth3G5nN5+tmjtZ1nqQ8
 MMkCWX6FQyjGQSr5r7MWwxg5RqpfvQpKzV9MQ=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.222sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2BBvhqE010080
Status: RO
Content-Length: 1469

Joerg, I believe it has been said in other cases several times:
STOP HIJACKING UNRELATED CASE DISCUSSIONS with off topic discussions
and whining about star and your distaste of Sun politics. The
opensolaris-discuss@opensolaris.org list is the right place for this.

Irek

To PSARC-ext@sun.com list admin: Feel free to ban Joerg if he
continues to hijack cases.

On Thu, Mar 11, 2010 at 12:36 PM, Joerg Schilling
<Joerg.Schilling@fokus.fraunhofer.de> wrote:
> Ceri Davies <ceri@submonkey.net> wrote:
>
>> > It first requires a sign of will from people inside Sun/Oracle as we the
>> > Community currently cannot directly influence/control the software that comes
>> > with Solaris.
>>
>> I disagree.
>
> Why?
>
>
>> > > If replacing pax is very important, I'd be willing to port FreeBSD's
>> >
>> > It is more important to finally integrate star in general. FreeBSDs libarchive
>> > misses a lot of the features found in star.
>>
>> Perhaps, but I don't want to work on star.
>
> Why?
> And Why do you believe you need to work on it?
>
> Jrg
>
> --
>  EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jrg Schilling D-13353 Berlin
>       js@cs.tu-berlin.de                (uni)
>       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
>  URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
> _______________________________________________
> opensolaris-arc mailing list
> opensolaris-arc@opensolaris.org
>



-- 
Irek


From casper@holland.sun.com Thu Mar 11 05:07:56 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BD7uE8011222
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 05:07:56 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2BD7tGA013393;
	Thu, 11 Mar 2010 05:07:56 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400509CH7GR00@brm-avmta-1.central.sun.com>; Thu,
 11 Mar 2010 06:07:55 -0700 (MST)
Received: from dm-holland-01.uk.sun.com ([129.156.101.192])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ40043KCH66I10@brm-avmta-1.central.sun.com>; Thu,
 11 Mar 2010 06:07:54 -0700 (MST)
Received: from holland (room101.Holland.Sun.COM [10.16.117.40])
	by dm-holland-01.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2BD7pav025091; Thu, 11 Mar 2010 13:07:51 +0000 (GMT)
Date: Thu, 11 Mar 2010 14:07:51 +0100
From: Casper.Dik@sun.com
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <20100311114053.GC16243@submonkey.net>
Sender: casper@holland.sun.com
To: Shells discussion <shell-discuss@opensolaris.org>
Cc: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>, PSARC-ext@sun.com,
        gdamore@sun.com, gd78059@sac.sfbay.sun.com, James.McPherson@sun.com
Message-id: <201003111307.o2BD7pav025091@dm-holland-01.uk.sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311113424.GB16243@submonkey.net>
 <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311114053.GC16243@submonkey.net>
Status: RO
Content-Length: 232



>The integration with ON isn't done, as far as I'm aware.

Indeed; you will need to have a completely finished workspace were all you 
need to type is "hg push".  Then most of the work is done and you ask for 
a sponsor.

Casper


From Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com Thu Mar 11 05:27:05 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BDR5T4011534
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 05:27:05 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2BDR2Y2004131
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 11 Mar 2010 06:27:05 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400515DD4TH00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 11 Mar 2010 05:27:04 -0800 (PST)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400HBPDD200F0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 11 Mar 2010 05:27:02 -0800 (PST)
Received: from relay44i.sun.com ([192.5.209.118])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BDR15u013229	for
 <PSARC-ext@sun.com>; Thu, 11 Mar 2010 13:27:02 +0000 (GMT)
Received: from mmp42es.mmp.us.syntegra.com ([160.41.221.11] [160.41.221.11])
 by relay44i.sun.com with ESMTP id BT-MMP-2003618 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 13:25:01 +0000 (Z)
Received: from relay44i.sun.com (relay44i.sun.com [192.5.209.118])
 by mmp42es.mmp.us.syntegra.com with ESMTP id BT-MMP-35308583 for
 PSARC-ext@sun.com; Thu, 11 Mar 2010 13:25:00 +0000 (Z)
Received: from relay02-haj2.antispameurope.com ([83.246.65.52] [83.246.65.52])
 by relay4i.sun.com with ESMTP id BT-MMP-3630501 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 13:25:00 +0000 (Z)
Received: by relay02-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000)
	id 2EAE76F0567; Thu, 11 Mar 2010 14:24:58 +0100 (CET)
Received: from pluto.fokus.fraunhofer.de
 (pluto.fokus.fraunhofer.de [195.37.77.164])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)	by relay02-haj2.antispameurope.com
 (ASE-Secure-MTA) with ESMTP id 8AACD6F0569; Thu,
 11 Mar 2010 14:24:56 +0100 (CET)
Received: from EXCHSRV.fokus.fraunhofer.de
 (bohr.fokus.fraunhofer.de [10.147.9.231])	by pluto.fokus.fraunhofer.de
 (8.14.2/8.14.2) with SMTP id o2BDOuGD023119; Thu,
 11 Mar 2010 14:24:56 +0100 (MET)
Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with
 Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Mar 2010 14:24:56 +0100
Date: Thu, 11 Mar 2010 14:24:56 +0100
From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <201003111307.o2BD7pav025091@dm-holland-01.uk.sun.com>
Sender: Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com
To: Casper.Dik@sun.com
Cc: PSARC-ext@sun.com, gdamore@sun.com, gd78059@sac.sfbay.sun.com
Message-id: <4b98ef28.ikzXPOa93mODc1/+%Joerg.Schilling@fokus.fraunhofer.de>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 1.316sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311113424.GB16243@submonkey.net>
 <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311114053.GC16243@submonkey.net>
 <201003111307.o2BD7pav025091@dm-holland-01.uk.sun.com>
User-Agent: nail 11.22 3/20/05
X-OriginalArrivalTime: 11 Mar 2010 13:24:56.0219 (UTC)
 FILETIME=[3DB8EEB0:01CAC11E]
Status: RO
Content-Length: 701

Casper.Dik@sun.com wrote:

> >The integration with ON isn't done, as far as I'm aware.
>
> Indeed; you will need to have a completely finished workspace were all you 
> need to type is "hg push".  Then most of the work is done and you ask for 
> a sponsor.

Well, I asked many times for a documentation of the ON Buildsystem. 

I mentioned already, that the buildsystem looks like the only real problem.

Jrg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jrg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

From casper@holland.sun.com Thu Mar 11 05:31:42 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BDVgjG011559
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 05:31:42 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2BDVfFe024378;
	Thu, 11 Mar 2010 05:31:42 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ40070FDKTUY00@brm-avmta-1.central.sun.com>; Thu,
 11 Mar 2010 06:31:41 -0700 (MST)
Received: from dm-holland-01.uk.sun.com ([129.156.101.192])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ4004M9DKS6G20@brm-avmta-1.central.sun.com>; Thu,
 11 Mar 2010 06:31:41 -0700 (MST)
Received: from holland (room101.Holland.Sun.COM [10.16.117.40])
	by dm-holland-01.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2BDVbbi002003; Thu, 11 Mar 2010 13:31:37 +0000 (GMT)
Date: Thu, 11 Mar 2010 14:31:37 +0100
From: Casper.Dik@sun.com
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <4b98ef28.ikzXPOa93mODc1/+%Joerg.Schilling@fokus.fraunhofer.de>
Sender: casper@holland.sun.com
To: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
Cc: PSARC-ext@sun.com, gdamore@sun.com, gd78059@sac.sfbay.sun.com
Message-id: <201003111331.o2BDVbbi002003@dm-holland-01.uk.sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311113424.GB16243@submonkey.net>
 <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311114053.GC16243@submonkey.net>
 <201003111307.o2BD7pav025091@dm-holland-01.uk.sun.com>
 <4b98ef28.ikzXPOa93mODc1/+%Joerg.Schilling@fokus.fraunhofer.de>
Status: RO
Content-Length: 840


>Casper.Dik@sun.com wrote:
>
>> >The integration with ON isn't done, as far as I'm aware.
>>
>> Indeed; you will need to have a completely finished workspace were all you 
>> need to type is "hg push".  Then most of the work is done and you ask for 
>> a sponsor.
>
>Well, I asked many times for a documentation of the ON Buildsystem. 
>
>I mentioned already, that the buildsystem looks like the only real problem.

There is not a whole lot of documentation; clearly people have been able to 
integrate ksh93 into Solaris Nevada without such documentation.

Part of it includes "copy & paste" development and understanding how to 
build your own archives (running nightly), taking it from here:

http://hub.opensolaris.org/bin/view/Main/get

and then copy your own source, create Makefile, check them in and create
your own code.

Casper


From Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com Thu Mar 11 05:48:13 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BDmDAq011716
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 05:48:13 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2BDmCTm019585
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 11 Mar 2010 06:48:12 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400803ECCEF00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Thu, 11 Mar 2010 05:48:12 -0800 (PST)
Received: from sca-ea-mail-1.sun.com ([192.18.43.24])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400444ECCC680@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Thu,
 11 Mar 2010 05:48:12 -0800 (PST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2BDe1XF026326	for
 <PSARC-ext@Sun.COM>; Thu, 11 Mar 2010 13:48:11 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay13i.sun.com with ESMTP id BT-MMP-2132497 for PSARC-ext@Sun.COM; Thu,
 11 Mar 2010 13:48:07 +0000 (Z)
Received: from relay15i.sun.com (relay15i.sun.com [129.179.4.125])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-55511674 for
 PSARC-ext@Sun.COM; Thu, 11 Mar 2010 13:48:05 +0000 (Z)
Received: from relay02-haj2.antispameurope.com ([83.246.65.52] [83.246.65.52])
 by relay1i.sun.com with ESMTP id BT-MMP-25933451 for PSARC-ext@Sun.COM; Thu,
 11 Mar 2010 13:48:04 +0000 (Z)
Received: by relay02-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000)
	id 822046F0490; Thu, 11 Mar 2010 14:48:03 +0100 (CET)
Received: from pluto.fokus.fraunhofer.de
 (pluto.fokus.fraunhofer.de [195.37.77.164])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)	by relay02-haj2.antispameurope.com
 (ASE-Secure-MTA) with ESMTP id 143366F055E; Thu,
 11 Mar 2010 14:48:02 +0100 (CET)
Received: from EXCHSRV.fokus.fraunhofer.de
 (bohr.fokus.fraunhofer.de [10.147.9.231])	by pluto.fokus.fraunhofer.de
 (8.14.2/8.14.2) with SMTP id o2BDm2mP023636; Thu,
 11 Mar 2010 14:48:02 +0100 (MET)
Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with
 Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Mar 2010 14:48:01 +0100
Date: Thu, 11 Mar 2010 14:47:58 +0100
From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <201003111331.o2BDVbbi002003@dm-holland-01.uk.sun.com>
Sender: Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com
To: Casper.Dik@sun.com
Cc: PSARC-ext@sun.com, gdamore@sun.com, gd78059@sac.sfbay.sun.com
Message-id: <4b98f48e.QXyUrN/HjNDxbw/g%Joerg.Schilling@fokus.fraunhofer.de>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 1.867sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311113424.GB16243@submonkey.net>
 <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311114053.GC16243@submonkey.net>
 <201003111307.o2BD7pav025091@dm-holland-01.uk.sun.com>
 <4b98ef28.ikzXPOa93mODc1/+%Joerg.Schilling@fokus.fraunhofer.de>
 <201003111331.o2BDVbbi002003@dm-holland-01.uk.sun.com>
User-Agent: nail 11.22 3/20/05
X-OriginalArrivalTime: 11 Mar 2010 13:48:01.0797 (UTC)
 FILETIME=[77975B50:01CAC121]
Status: RO
Content-Length: 995

Casper.Dik@Sun.COM wrote:

> >Well, I asked many times for a documentation of the ON Buildsystem. 
> >
> >I mentioned already, that the buildsystem looks like the only real problem.
>
> There is not a whole lot of documentation; clearly people have been able to 
> integrate ksh93 into Solaris Nevada without such documentation.
>
> Part of it includes "copy & paste" development and understanding how to 

I mentioned already that the existing makefiles are not useful for cut/paste
for my needs. In special there is no information on how/where to put calls
to programs like "configure" or "rpcgen".

This is why I asked several times in the past.

I'll send you explicit questions next week.....

Jrg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jrg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

From carlsonj@workingcode.com Thu Mar 11 06:36:15 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BEaFGS012269
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 06:36:15 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2BEaDSA058844;
	Thu, 11 Mar 2010 07:36:13 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ40090BGKDYG00@nwk-avmta-2.sfbay.sun.com>; Thu,
 11 Mar 2010 06:36:13 -0800 (PST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400627GKCO540@nwk-avmta-2.sfbay.sun.com>; Thu,
 11 Mar 2010 06:36:13 -0800 (PST)
Received: from relay15i.sun.com
 (ip125.net129179-4.block1.us.syntegra.com [129.179.4.125])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BEaCu8013407; Thu,
 11 Mar 2010 14:36:12 +0000 (GMT)
Received: from mmp13es.mmp.us.syntegra.com ([160.41.208.13] [160.41.208.13])
 by relay15i.sun.com with ESMTP id BT-MMP-2114743; Thu,
 11 Mar 2010 14:34:12 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp13es.mmp.us.syntegra.com with ESMTP id BT-MMP-53381251; Thu,
 11 Mar 2010 14:34:11 +0000 (Z)
Received: from carlson.workingcode.com ([75.150.68.97] [75.150.68.97])
 by relay1i.sun.com with ESMTP id BT-MMP-5353405; Thu,
 11 Mar 2010 14:34:11 +0000 (Z)
Received: from [10.50.23.149] (gate.abinitio.com [65.170.40.132])
	(authenticated bits=0)	by carlson.workingcode.com (8.14.2+Sun/8.14.3)
 with ESMTP id o2BEY7KM002318
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu,
 11 Mar 2010 09:34:07 -0500 (EST)
Date: Thu, 11 Mar 2010 09:34:07 -0500
From: James Carlson <carlsonj@workingcode.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <4b98f48e.QXyUrN/HjNDxbw/g%Joerg.Schilling@fokus.fraunhofer.de>
To: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>
Cc: Casper.Dik@sun.com, PSARC-ext@sun.com, gdamore@sun.com,
        gd78059@sac.sfbay.sun.com
Message-id: <4B98FF5F.2020602@workingcode.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-DCC-dmv.com-Metrics: carlson; whitelist
X-Antispam: No, score=0.0/5.0, scanned in 0.222sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311113424.GB16243@submonkey.net>
 <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311114053.GC16243@submonkey.net>
 <201003111307.o2BD7pav025091@dm-holland-01.uk.sun.com>
 <4b98ef28.ikzXPOa93mODc1/+%Joerg.Schilling@fokus.fraunhofer.de>
 <201003111331.o2BDVbbi002003@dm-holland-01.uk.sun.com>
 <4b98f48e.QXyUrN/HjNDxbw/g%Joerg.Schilling@fokus.fraunhofer.de>
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)
Status: RO
Content-Length: 1248

Joerg Schilling wrote:
> Casper.Dik@Sun.COM wrote:
> 
>>> Well, I asked many times for a documentation of the ON Buildsystem. 
>>>
>>> I mentioned already, that the buildsystem looks like the only real problem.
>> There is not a whole lot of documentation; clearly people have been able to 
>> integrate ksh93 into Solaris Nevada without such documentation.
>>
>> Part of it includes "copy & paste" development and understanding how to 
> 
> I mentioned already that the existing makefiles are not useful for cut/paste
> for my needs. In special there is no information on how/where to put calls
> to programs like "configure" or "rpcgen".

A "configure" script is almost never appropriate in ON, because ON
relies on a consistent set of Makefile design rules across the
consolidation.  Most open source things that have integrated into ON
have simply had Makefiles created from scratch by the integrating engineer.

If you really need to generate build infrastructure during compile time,
then something like SFW is likely to be more appropriate.  SFW's build
infrastructure is different, and expects to rely on doing the usual
untar, ./configure, make install ritual.

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

From Wyllys.Ingersoll@Sun.COM Thu Mar 11 06:52:15 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BEqEWS012457
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 06:52:15 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2BEqE7r016689
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 11 Mar 2010 08:52:14 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400A05HB2W000@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 11 Mar 2010 06:52:14 -0800 (PST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ4006W6HB2O840@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 11 Mar 2010 06:52:14 -0800 (PST)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BEqDE7020060	for
 <PSARC-ext@sun.com>; Thu, 11 Mar 2010 14:52:13 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZ400B00GZEYD00@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 11 Mar 2010 07:52:13 -0700 (MST)
Received: from [192.168.1.50] (usr166.res.openband.net [216.40.74.166])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KZ40020WHAZHF80@mail-amer.sun.com>; Thu,
 11 Mar 2010 07:52:12 -0700 (MST)
Date: Thu, 11 Mar 2010 09:52:11 -0500
From: Wyllys Ingersoll <Wyllys.Ingersoll@Sun.COM>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <4b98f48e.QXyUrN/HjNDxbw/g%Joerg.Schilling@fokus.fraunhofer.de>
Sender: Wyllys.Ingersoll@Sun.COM
To: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>
Cc: Casper.Dik@Sun.COM, PSARC-ext@Sun.COM, gdamore@Sun.COM,
        gd78059@sac.sfbay.sun.com
Message-id: <4B99039B.4070608@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311113424.GB16243@submonkey.net>
 <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311114053.GC16243@submonkey.net>
 <201003111307.o2BD7pav025091@dm-holland-01.uk.sun.com>
 <4b98ef28.ikzXPOa93mODc1/+%Joerg.Schilling@fokus.fraunhofer.de>
 <201003111331.o2BDVbbi002003@dm-holland-01.uk.sun.com>
 <4b98f48e.QXyUrN/HjNDxbw/g%Joerg.Schilling@fokus.fraunhofer.de>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Lightning/1.0b1 Thunderbird/3.0.1
Status: RO
Content-Length: 1070

On 03/11/10 08:47, Joerg Schilling wrote:
> Casper.Dik@Sun.COM wrote:
>
>>> Well, I asked many times for a documentation of the ON Buildsystem.
>>>
>>> I mentioned already, that the buildsystem looks like the only real problem.
>>
>> There is not a whole lot of documentation; clearly people have been able to
>> integrate ksh93 into Solaris Nevada without such documentation.
>>
>> Part of it includes "copy&  paste" development and understanding how to
>
> I mentioned already that the existing makefiles are not useful for cut/paste
> for my needs. In special there is no information on how/where to put calls
> to programs like "configure" or "rpcgen".
>
> This is why I asked several times in the past.

If you want to maintain the standard open source build model of "untar; configure; make ...",
then you need to integrate into the SFW consolidation.  Take a look at the Makefile.sfw
for any of the commands integrated in the SFW gate for examples.  It's pretty straightforward.

For example:
http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/gawk/

-Wyllys

From Sebastien.Roy@sun.com Thu Mar 11 07:04:18 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BF4Huk012944
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 07:04:18 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2BF4Hjv025931
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 11 Mar 2010 09:04:17 -0600 (CST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400H0FHV51L00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Thu, 11 Mar 2010 08:04:17 -0700 (MST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ4004TIHV46BC0@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Thu,
 11 Mar 2010 08:04:16 -0700 (MST)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BF4G7G025649	for
 <PSARC-ext@Sun.COM>; Thu, 11 Mar 2010 15:04:16 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZ400F00HTAWM00@mail-amer.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Thu, 11 Mar 2010 08:04:16 -0700 (MST)
Received: from [129.148.174.103] ([unknown] [129.148.174.103])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KZ400FGZHV3SA60@mail-amer.sun.com>; Thu,
 11 Mar 2010 08:04:16 -0700 (MST)
Date: Thu, 11 Mar 2010 10:01:29 -0500
From: Sebastien Roy <Sebastien.Roy@sun.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <4B99039B.4070608@sun.com>
Sender: Sebastien.Roy@sun.com
To: Wyllys Ingersoll <Wyllys.Ingersoll@sun.com>
Cc: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>, PSARC-ext@sun.com,
        gdamore@sun.com, gd78059@sac.sfbay.sun.com, Casper.Dik@sun.com
Message-id: <4B9905C9.7050907@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B983A13.9010505@Sun.COM> <4B983B07.1000100@sun.com>
 <4b98b426.LYz4+T2/2JwGtLYg%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311111237.GA16243@submonkey.net>
 <4b98d369.bWzDmi8A4+9ezeIn%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311113424.GB16243@submonkey.net>
 <4b98d5cd.o4S22mhvdBnO11Dr%Joerg.Schilling@fokus.fraunhofer.de>
 <20100311114053.GC16243@submonkey.net>
 <201003111307.o2BD7pav025091@dm-holland-01.uk.sun.com>
 <4b98ef28.ikzXPOa93mODc1/+%Joerg.Schilling@fokus.fraunhofer.de>
 <201003111331.o2BDVbbi002003@dm-holland-01.uk.sun.com>
 <4b98f48e.QXyUrN/HjNDxbw/g%Joerg.Schilling@fokus.fraunhofer.de>
 <4B99039B.4070608@sun.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100214
 Lightning/1.0b1 Thunderbird/3.0.1
Status: RO
Content-Length: 565

I'm glad that we're helping each other and exchanging useful information 
on how to integrate into ON or SFW, but at this point, this discussion 
is very much off-topic for the architectural review of this case, and 
more generally for this mailing list.  I don't mean to single any 
individual out, I had to interject at some point during the discussion, 
so please don't take this message personally.

Please get together in a different forum if you wish to continue 
discussing the details of consolidations' build systems.

Thanks for your understanding.

-Seb

From christine.tran@gmail.com Thu Mar 11 11:56:29 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2BJuT7a019780
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 11 Mar 2010 11:56:29 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2BJuT4f020836
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 11 Mar 2010 13:56:29 -0600 (CST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ400N05VE51V00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 11 Mar 2010 12:56:29 -0700 (MST)
Received: from sca-ea-mail-4.sun.com ([192.18.43.22])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ400EZPVE3BC40@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 11 Mar 2010 12:56:28 -0700 (MST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2BJidxN013800	for
 <PSARC-ext@sun.com>; Thu, 11 Mar 2010 19:56:27 +0000 (GMT)
Received: from mmp12es.mmp.us.syntegra.com ([160.41.208.12] [160.41.208.12])
 by relay13i.sun.com with ESMTP id BT-MMP-2160938 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 19:56:27 +0000 (Z)
Received: from relay14i.sun.com (relay14i.sun.com [129.179.4.124])
 by mmp12es.mmp.us.syntegra.com with ESMTP id BT-MMP-56023428 for
 PSARC-ext@sun.com; Thu, 11 Mar 2010 19:56:27 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-25073455 for PSARC-ext@sun.com; Thu,
 11 Mar 2010 19:56:26 +0000 (Z)
Received: by mail-bw0-f222.google.com with SMTP id 22so446752bwz.8 for
 <PSARC-ext@sun.com>; Thu, 11 Mar 2010 11:56:26 -0800 (PST)
Received: by 10.204.16.76 with SMTP id n12mr4299566bka.136.1268337386205; Thu,
 11 Mar 2010 11:56:26 -0800 (PST)
Date: Thu, 11 Mar 2010 14:56:26 -0500
From: Christine Tran <christine.tran@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
To: Shells discussion <shell-discuss@opensolaris.org>
Cc: PSARC-ext@sun.com
Message-id: <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=G0OlmOVj4Ri5IBcmbvbggpdC4Oga1Lal6QJOcPdS/1c=;
 b=EM4ogkXfH30WN6CRo0bM4HW1VPVIWbNi29ZJ3Jc08VPldQPOXVj9IL+zsE+tp1hbgB
 I+VyMpgfn3fuvceQd21cGr99STSxGexOWK/RhCSzHv8g04L6Ko1H0z360V6aJWrHzREK
 H1i104PptWZtOsIRQEXsHP57K/XcetNFJ7XYg=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=MPD2V16aV0icOgipP6X3GrU+pKVc7zxGI2KxE7Dda9cwMmIM7UU/CCKbMAmxIDAREX
 2b3IW2xjyPPrNs/hdBpXX4QwLOUpIOzcKS6oLYWixYaFmT15WuOd94ONUldZg/7ejkP+
 9rEPvxmK0xpc+EL6z5CTduSN5pwKU9+R66BVs=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.048sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2BJuT7a019780
Status: RO
Content-Length: 619

> 6687656 RFE: Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>
>
>
> Interface             Stability    Description
> ---------             ---------    -----------
> /usr/bin/sed           See man page   sed command
> /usr/xpg4/bin/sed         See man page   sed command
> ksh93 builtin /usr/xpg4/bin/sed  See man page   sed command
>
>
> The following options will be supported additionally to the existing
> -n, -e, -f options for BSD and GNU compatibility:

Sorry ... no in-place replacement?  I use GNU sed strictly for this reason.


From olga.kryzhanovska@gmail.com Fri Mar 12 04:13:46 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CCDkf8024902
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 04:13:46 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CCDi7d020457;
	Fri, 12 Mar 2010 06:13:45 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ6002054MXMM00@nwk-avmta-2.sfbay.sun.com>; Fri,
 12 Mar 2010 04:13:45 -0800 (PST)
Received: from sca-ea-mail-1.sun.com ([192.18.43.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ60096A4MXOJF0@nwk-avmta-2.sfbay.sun.com>; Fri,
 12 Mar 2010 04:13:45 -0800 (PST)
Received: from relay14i.sun.com
 (ip124.net129179-4.block1.us.syntegra.com [129.179.4.124])
	by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CBpeoj027999;
 Fri, 12 Mar 2010 12:13:44 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay14i.sun.com with ESMTP id BT-MMP-2192278; Fri,
 12 Mar 2010 12:13:44 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-57772457; Fri,
 12 Mar 2010 12:13:44 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-27336615; Fri,
 12 Mar 2010 12:13:44 +0000 (Z)
Received: by bwz22 with SMTP id 22so1052400bwz.8 for <multiple recipients>;
 Fri, 12 Mar 2010 04:13:33 -0800 (PST)
Received: by 10.204.133.27 with SMTP id d27mr1239421bkt.51.1268396013777; Fri,
 12 Mar 2010 04:13:33 -0800 (PST)
Date: Fri, 12 Mar 2010 13:13:33 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
To: Christine Tran <christine.tran@gmail.com>,
        "Garrett D'Amore" <gdamore@sun.com>
Cc: Shells discussion <shell-discuss@opensolaris.org>, PSARC-ext@sun.com
Message-id: <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type;
 bh=kYGpLM/OT98FXKCuh0f2tc5ekplHRn7wLqI7Vafq0qY=;
 b=tFRyeU8bCiWq4+zLPpsFdYcg3CfPEWkCJ60733FuVZjc5+0kdB88fDUXw+VL4A5QIQ
 qAx8oNuXgfzpFA+AxfdpXRErEd/Bga+8lGS/cowsMSIyWkZQMsz5YJ4L5dTheEiS8JT/
 6rmw0w+fnFaHc7qjccfD0BxHkmqZvEc1W1UZw=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 b=YbJmIcemhhZnujrkYLzfTAosT2mTr6ByQEqBX0fgZCZcAPbhv6sED+bzYnJmpdfEkX
 YoU6BnpYvN1bIWmJUb/0cLeCpbDn1LRbRyzwV3hisPSJnlcgoZ5Zgc0wQe3kJ8N6JZo9
 Sqa00ZwdDq+pcsq8p+dryl5v59TEzkqY71B7s=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.061sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
Status: RO
Content-Length: 1635

Christine: Which options and features do you need/want?

Garrett: I used Roland's phrase "[...]so out of order and partial
putbacks at this granularity should have no adverse impact on the
functionality and behavior of the system as a whole[...]". Does this
phrase even apply to individual options? The XPG4 part this case
refers to is already ready for integration into ON since 2006 sans -u
and could be integrated ASAP and the new in-place replacement feature
could be delivered quickly after that. Or do we have to deliver only
binaries with the full set of features?

Olga

On Thu, Mar 11, 2010 at 8:56 PM, Christine Tran
<christine.tran@gmail.com> wrote:
>> 6687656 RFE: Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>>
>>
>>
>> Interface                         Stability        Description
>> ---------                         ---------        -----------
>> /usr/bin/sed                      See man page     sed command
>> /usr/xpg4/bin/sed                 See man page     sed command
>> ksh93 builtin /usr/xpg4/bin/sed   See man page     sed command
>>
>>
>> The following options will be supported additionally to the existing
>> -n, -e, -f options for BSD and GNU compatibility:
>
> Sorry ... no in-place replacement?  I use GNU sed strictly for this reason.
>
>
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`

From Alan.Burlison@Sun.COM Fri Mar 12 05:27:32 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CDRW7m025877
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 05:27:32 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2CDRWik018398
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 06:27:32 -0700 (MST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ60000581W0400@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 06:27:32 -0700 (MST)
Received: from dm-uk-02.uk.sun.com ([129.156.101.196])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6003GB81VC490@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 06:27:31 -0700 (MST)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-02.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2CDRSBs022712; Fri, 12 Mar 2010 13:27:28 +0000 (GMT)
Received: from erik.uk.sun.com ([129.156.132.39])	by barman.uk.sun.com with
 esmtp (Exim 4.42)	id 1Nq4tj-0006e9-Ox; Fri, 12 Mar 2010 13:27:27 +0000
Date: Fri, 12 Mar 2010 13:27:27 +0000
From: Alan Burlison <Alan.Burlison@Sun.COM>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
To: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>
Cc: PSARC-ext@Sun.COM, olga.kryzhanovska@gmail.com,
        shell-discuss@opensolaris.org
Message-id: <4B9A413F.3050402@sun.com>
Organization: Oracle
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Thunderbird/3.0.1
Status: RO
Content-Length: 316

On 11/03/2010 00:28, Garrett D'Amore - sun microsystems wrote:

> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed

Can you provide some information on which opensource implementation you 
are intending to use?  Have you confirmed that it passes the VSC test suite?

Thanks,

-- 
Alan Burlison
--

From olga.kryzhanovska@gmail.com Fri Mar 12 05:50:35 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CDoZbw026156
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 05:50:35 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CDoXRU013176;
	Fri, 12 Mar 2010 05:50:33 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600L2V949C500@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 12 Mar 2010 05:50:33 -0800 (PST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ600IFD9488C30@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 12 Mar 2010 05:50:32 -0800 (PST)
Received: from relay42i.sun.com ([192.5.209.72])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CDgtFn011079; Fri,
 12 Mar 2010 13:50:31 +0000 (GMT)
Received: from mmp41es.mmp.us.syntegra.com ([160.41.221.10] [160.41.221.10])
 by relay42i.sun.com with ESMTP id BT-MMP-2109454; Fri,
 12 Mar 2010 13:50:31 +0000 (Z)
Received: from relay43i.sun.com (relay43i.sun.com [192.5.209.74])
 by mmp41es.mmp.us.syntegra.com with ESMTP id BT-MMP-38278086; Fri,
 12 Mar 2010 13:50:31 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay4i.sun.com with ESMTP id BT-MMP-13763502; Fri,
 12 Mar 2010 13:50:31 +0000 (Z)
Received: by bwz22 with SMTP id 22so1134139bwz.8 for <multiple recipients>;
 Fri, 12 Mar 2010 05:49:40 -0800 (PST)
Received: by 10.204.140.67 with SMTP id h3mr2707879bku.137.1268401779963; Fri,
 12 Mar 2010 05:49:39 -0800 (PST)
Date: Fri, 12 Mar 2010 14:49:39 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4B9A413F.3050402@sun.com>
To: Alan Burlison <Alan.Burlison@sun.com>
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <e21eff1d1003120549r7490263esdc538fc58f2b7a07@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type;
 bh=KaeLR9sQB6n0I4O587ZH7YbvbUGKQrIP2VNNgkIRKTc=;
 b=OLOixFKFV+AN3HRvBCEcgNhNAFXjUfpqjKB2YsupqT5ioyBXYp7N4vxNbNID1ApKds
 qievu5mSUpaPHO0eIz8P+MSGhJIB18qAHpk/c9IuWRLIR4PZNnQsUAVnUcsvBDF87Ty+
 U9tZqrapXkXzU+uUCniGUVXHmG/STqg+HFRbM=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 b=sA58QkZWZUbGLVEXgX/j6U5p/EvnT8JqUUTQufI0G8me3KEqmwQ3r1GJ7e4QwjSi9B
 Jkf2yud2yF+tbbnV5yN3lT6ZwTz8fMZJx2xgbizq6NNZixwwZgNy6RGiac+6si1d/SZO
 pbaFhBmEEX66MIn8OLmbvvlUEM7E+nxdHm5ss=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.054sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B9A413F.3050402@sun.com>
Status: RO
Content-Length: 934

AT&T AST sed from the ast-open package. It is a direct descendant of
the AT&T sed in UNIX. The same package contains ksh93, has the same
license (CPL 1.0) as ksh93 and passes VSC.

Olga

On Fri, Mar 12, 2010 at 2:27 PM, Alan Burlison <Alan.Burlison@sun.com> wrote:
> On 11/03/2010 00:28, Garrett D'Amore - sun microsystems wrote:
>
>> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>
> Can you provide some information on which opensource implementation you are
> intending to use?  Have you confirmed that it passes the VSC test suite?
>
> Thanks,
>
> --
> Alan Burlison
> --
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`

From peter.tribble@gmail.com Fri Mar 12 06:02:51 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CE2p0T026660
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 06:02:51 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CE2pNn020231
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 06:02:51 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ6009179ORLC00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 06:02:51 -0800 (PST)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6003YE9OPZ550@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 06:02:50 -0800 (PST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CE2nx8021639	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 14:02:49 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay13i.sun.com with ESMTP id BT-MMP-2212782 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:02:37 +0000 (Z)
Received: from relay14i.sun.com (relay14i.sun.com [129.179.4.124])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-513856 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 14:02:35 +0000 (Z)
Received: from mail-ww0-f49.google.com ([74.125.82.49] [74.125.82.49])
 by relay1i.sun.com with ESMTP id BT-MMP-26850255 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:02:35 +0000 (Z)
Received: by wwd20 with SMTP id 20so802420wwd.8 for <PSARC-ext@sun.com>; Fri,
 12 Mar 2010 06:02:32 -0800 (PST)
Received: by 10.216.87.16 with SMTP id x16mr1623607wee.27.1268402552674; Fri,
 12 Mar 2010 06:02:32 -0800 (PST)
Date: Fri, 12 Mar 2010 14:02:32 +0000
From: Peter Tribble <peter.tribble@gmail.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
To: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>
Cc: PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <df1347731003120602xa5abb57q72d7780cea5e7317@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=NZ8Z8RGsMHTq9OP2/YLeEiSLJO1eAPfXxXGYJTsg4gM=;
 b=Bq8TX7LD9BfdCe2sFdc1s3bLGR15g0Nx8PByKyG/k5ZWHy+RKvMh0PXzZFazwQeuM+
 i8l3nvoc1OnR3AXnKLqbvgHgzp8iEpF93I5WzCBNv8M6LQUMrJ+rwdLkm+Q7RvSUdp5M
 JgE1IFJoDTSPAOhhV+eALdag8p55OSpERV76U=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=in9G2fyA7eLxZQwFbQahOyHJce4upSKzGYpgdgVtVftsEUicBVESyotH0M6AnDWFA8
 rsUO76AHq1WD8Kvq0nbkZ9buyFXO4Xp4VlGAFZ964+esT+qeyTnfYD3LfMTX1QJ5N3Hh
 zmvRoNe0B0tGdbuF3ukAohpDEKX1fOHkbPXIY=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.2/5.0, scanned in 2.331sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2CE2p0T026660
Status: RO
Content-Length: 888

On Thu, Mar 11, 2010 at 12:28 AM, Garrett D'Amore - sun microsystems
<gd78059@sac.sfbay.sun.com> wrote:
>
> Template Version: @(#)sac_nextcase 1.69 02/15/10 SMI
> This information is Copyright 2010 Sun Microsystems
> 1. Introduction
>  1.1. Project/Component Working Name:
>     open source sed
>  1.2. Name of Document Author/Supplier:
>     Author: Olga Kryzhanovska
>  1.3 Date of This Document:
>    10 March, 2010
> 4. Technical Description
>
> I'm sponsoring this fast-track request on behalf of the
> POSIX utility community and shell project.

Nit: Is there such a community?

I know that there has been some discussion based on a draft proposal,
but I haven't seen that discussion converge nor a formal proposal placed
before the OGB. So such a community does not yet exist.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


From olga.kryzhanovska@gmail.com Fri Mar 12 06:17:16 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CEHFC1026716
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 06:17:16 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CEHEYZ006337
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 08:17:15 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600A0FACQC900@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 06:17:14 -0800 (PST)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6003BTACQZ570@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 06:17:14 -0800 (PST)
Received: from relay42i.sun.com ([192.5.209.72])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CEDKWc013795	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 14:17:14 +0000 (GMT)
Received: from mms48es.mms.us.syntegra.com ([160.41.221.230] [160.41.221.230])
 by relay42i.sun.com with ESMTP id BT-MMP-2111279 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:17:12 +0000 (Z)
Received: from relay45i.sun.com (relay45i.sun.com [192.5.209.94])
 by mms48es.mms.us.syntegra.com with ESMTP id BT-MMP-36649921 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 14:17:12 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay4i.sun.com with ESMTP id BT-MMP-19281914 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:17:12 +0000 (Z)
Received: by bwz22 with SMTP id 22so1160036bwz.8 for <PSARC-ext@sun.com>; Fri,
 12 Mar 2010 06:16:28 -0800 (PST)
Received: by 10.204.133.27 with SMTP id d27mr1436137bkt.51.1268403388201; Fri,
 12 Mar 2010 06:16:28 -0800 (PST)
Date: Fri, 12 Mar 2010 15:16:28 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <df1347731003120602xa5abb57q72d7780cea5e7317@mail.gmail.com>
To: Peter Tribble <peter.tribble@gmail.com>
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <e21eff1d1003120616m365f60exe89af602e99f194c@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type;
 bh=RIIEHxLXEbYDpBNWnCORlCLZtZ1uASACg1CcCkWOtwo=;
 b=gNEH2ys41pZBnrxism6jSlbT3MCwzOri+t1/fGMDv5gQoqPuYLgU/y2B6hhRUDu1U9
 0sKSkirFy08/GZptfDCn3yUvqZnGsr6ZSVh7bAbyAfeH93SZFLAQCZek+J9Wt2Nh/7vp
 2lwMm0I1FFWZNOzMbKalqYM/qTcQTTCuwTWM4=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 b=d5hmgIowgY0nDls6iglckYlXYLRj+Cw2hr/sIzDLGvSxtngT7Lm82gXj8AEJTqcNhs
 Sc8THdZ+ELMNDmRjRrlKcHAQFpQq8NZH6A48D/5GxLFRic/05h4kDNaMwjjFQaiAn6yE
 3FrkaiePE8HYtd5mMPNYB3/bC8sseVqG8zYBM=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-1.1/5.0, scanned in 0.078sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <df1347731003120602xa5abb57q72d7780cea5e7317@mail.gmail.com>
Status: RO
Content-Length: 1650

Yes, there is. Just because I have to rework the formal proposal
doesn't mean we don't exist and don't write code.
The open source replacements for sed, tr, printf and other utilities
are ready sans testing since 2006 and I believe its time to get the
code into ON, regardless of the formal paperwork.

Olga

On Fri, Mar 12, 2010 at 3:02 PM, Peter Tribble <peter.tribble@gmail.com> wrote:
> On Thu, Mar 11, 2010 at 12:28 AM, Garrett D'Amore - sun microsystems
> <gd78059@sac.sfbay.sun.com> wrote:
>>
>> Template Version: @(#)sac_nextcase 1.69 02/15/10 SMI
>> This information is Copyright 2010 Sun Microsystems
>> 1. Introduction
>>    1.1. Project/Component Working Name:
>>         open source sed
>>    1.2. Name of Document Author/Supplier:
>>         Author:  Olga Kryzhanovska
>>    1.3  Date of This Document:
>>        10 March, 2010
>> 4. Technical Description
>>
>> I'm sponsoring this fast-track request on behalf of the
>> POSIX utility community and shell project.
>
> Nit: Is there such a community?
>
> I know that there has been some discussion based on a draft proposal,
> but I haven't seen that discussion converge nor a formal proposal placed
> before the OGB. So such a community does not yet exist.
>
> --
> -Peter Tribble
> http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
>
>
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`

From olga.kryzhanovska@gmail.com Fri Mar 12 06:27:00 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CER0AI026756
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 06:27:00 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CEQwXh012172
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 08:26:59 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600A0NASZY900@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 06:26:59 -0800 (PST)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6003PIASYYV60@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 06:26:59 -0800 (PST)
Received: from relay14i.sun.com
 (ip124.net129179-4.block1.us.syntegra.com [129.179.4.124])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CEOftK022850	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 14:26:58 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay14i.sun.com with ESMTP id BT-MMP-2199969 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:26:56 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-58019561 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 14:26:56 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-7951054 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:26:56 +0000 (Z)
Received: by bwz22 with SMTP id 22so1170105bwz.8 for <PSARC-ext@sun.com>; Fri,
 12 Mar 2010 06:26:46 -0800 (PST)
Received: by 10.204.36.70 with SMTP id s6mr3720074bkd.22.1268404002151; Fri,
 12 Mar 2010 06:26:42 -0800 (PST)
Date: Fri, 12 Mar 2010 15:26:42 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
To: Christine Tran <christine.tran@gmail.com>
Cc: Shells discussion <shell-discuss@opensolaris.org>, PSARC-ext@sun.com
Message-id: <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=49hgWC0AAstzVhyht5Z5ZnmePUVWA3XRAbJiihUgAgo=;
 b=SL7m7JI2bF5yRLNI9ohaEVTLGgMKjwalBbL9Rf12gjCPWXVtIOModBmDpQ3mlp5fdz
 Ic+1f2RGXL8DQKa+hXPHILuZ0q6GVkraEYNXX6r2NRPx7t4zB+Bc737Lshf5ChwqNK7w
 Hr7o/Wq9BEILxNJjEne+0xWwLpl189sgSoJAY=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=Kg/nD9J7jiX1Wv9L9IN71fCoDZN7uih2LNy/IciSlv0uVrlWSE3nphM1ctpjpG1EMc
 obgw8zNg6V39v60tf9SA2ZomXOPbRqI4HQXnJk2jcbSrO8/AE8tso/7DiWp8GjcF777J
 7weL/qmgLgG0Rp/kDY9duaMg2ApeBOnhgGqhU=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.2/5.0, scanned in 0.058sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2CER0AI026756
Status: RO
Content-Length: 1407

This one, right?
       -i[SUFFIX], --in-place[=SUFFIX]
              edit files in place (makes backup if extension supplied)

-i copies the content to a temporary backup file, truncates the
original (keeping permissions, ACL flags etc) and starts processing
from backup to original file, right?


Which purpose has this option (I can't look at the GPL code without
getting tainted by the GPL):
--follow-symlinks
              follow symlinks when processing in place

If you use one sed script over many files then sedcomp will help you
(precompiles sed script, saving execution time in the processing
loop).

Olga

2010/3/12 Christine Tran <christine.tran@gmail.com>:
> 2010/3/12   <olga.kryzhanovska@gmail.com>:
>> Christine: Which options and features do you need/want?
>>
>
> Hi,  in-place replacement, the -i switch.  It allows sed to modify the
> file directly, instead of redirecting the output and then copying it
> back over.  This is very useful when you use sed for text processing
> from within a script, operating over many files.
>
> CT
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`


From olga.kryzhanovska@gmail.com Fri Mar 12 06:38:53 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CEcqZS026955
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 06:38:53 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2CEcp8g007685
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 07:38:52 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600B0ZBCSM000@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 06:38:52 -0800 (PST)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ60037PBCRZA80@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 06:38:51 -0800 (PST)
Received: from relay15i.sun.com
 (ip125.net129179-4.block1.us.syntegra.com [129.179.4.125])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CEUUuw012168	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 14:38:51 +0000 (GMT)
Received: from mmp13es.mmp.us.syntegra.com ([160.41.208.13] [160.41.208.13])
 by relay15i.sun.com with ESMTP id BT-MMP-2193924 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:38:51 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp13es.mmp.us.syntegra.com with ESMTP id BT-MMP-55812596 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 14:38:50 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-7981880 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:38:50 +0000 (Z)
Received: by bwz22 with SMTP id 22so1182394bwz.8 for <PSARC-ext@sun.com>; Fri,
 12 Mar 2010 06:38:49 -0800 (PST)
Received: by 10.204.156.204 with SMTP id y12mr1120758bkw.3.1268404729643; Fri,
 12 Mar 2010 06:38:49 -0800 (PST)
Date: Fri, 12 Mar 2010 15:38:49 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <836212a71003120634v298d4c56sc50c204c1e6eae2f@mail.gmail.com>
To: Christine Tran <christine.tran@gmail.com>
Cc: Shells discussion <shell-discuss@opensolaris.org>, PSARC-ext@sun.com
Message-id: <e21eff1d1003120638x5d7b8865y69dd66a41bd55fa8@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=p1tbvTWED3fDorSgY09+5VSAuxmhL7+KoETzgcFd5s8=;
 b=qri1sLXyoJy89LPWzdHnX9LtJ2rJgmEIsgfQmuPxCnQXriRt8Al7QeVjW7mV535M1y
 hwYB6yMYKcvcY1rtC2A/asZ999tnUAq7uXgASw+7iDpVCwB3TuIAAcclwRLHLVuL6dgw
 Z71Q9AQs/AbfezBOgml9Yh2SIRCzNIZNttNuw=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=W/3pq1HfsFnWsPZ8dcZNcZ1m6P5zKc2OiVVc1trjHoqI6U5QleAS8er/JiplCkvCFK
 iSyoVWNkWhiwkjZ6/QS4fGAXE8Gv4xHUphZDwgzuBlatwjNMIDlSk56Z9T65MnEuN85D
 RcctMboBa5kNfCx93Mab7iVXsitVQ+3cfM8G0=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.056sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <836212a71003120634v298d4c56sc50c204c1e6eae2f@mail.gmail.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2CEcqZS026955
Status: RO
Content-Length: 1074

2010/3/12 Christine Tran <christine.tran@gmail.com>:
> 2010/3/12   <olga.kryzhanovska@gmail.com>:
>> This one, right?
>>       -i[SUFFIX], --in-place[=SUFFIX]
>>              edit files in place (makes backup if extension supplied)
>>
>> -i copies the content to a temporary backup file, truncates the
>> original (keeping permissions, ACL flags etc) and starts processing
>> from backup to original file, right?
>>
>>
>> Which purpose has this option (I can't look at the GPL code without
>> getting tainted by the GPL):
>> --follow-symlinks
>>              follow symlinks when processing in place
>
> Yes, that's the one.

I understand now how -i works but I am puzzled about --follow-symlinks
- why is it required?

Olga
-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`


From mgerdts@gmail.com Fri Mar 12 06:48:53 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CEmrNd027018
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 06:48:53 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CEmqOu016587
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 06:48:53 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ60080BBTH6800@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:48:53 -0700 (MST)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ600804BTH5S00@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 07:48:53 -0700 (MST)
Received: from relay42i.sun.com ([192.5.209.72])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CEmqM1010937	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 14:48:52 +0000 (GMT)
Received: from mmp42es.mmp.us.syntegra.com ([160.41.221.11] [160.41.221.11])
 by relay42i.sun.com with ESMTP id BT-MMP-2113260 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:46:52 +0000 (Z)
Received: from relay42i.sun.com (relay42i.sun.com [192.5.209.72])
 by mmp42es.mmp.us.syntegra.com with ESMTP id BT-MMP-37091287 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 14:46:52 +0000 (Z)
Received: from mail-pw0-f49.google.com ([209.85.160.49] [209.85.160.49])
 by relay4i.sun.com with ESMTP id BT-MMP-52951245 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:46:52 +0000 (Z)
Received: by pwj2 with SMTP id 2so728297pwj.8 for <PSARC-ext@sun.com>; Fri,
 12 Mar 2010 06:46:01 -0800 (PST)
Received: by 10.141.188.4 with SMTP id q4mr1622086rvp.147.1268405161360; Fri,
 12 Mar 2010 06:46:01 -0800 (PST)
Date: Fri, 12 Mar 2010 08:46:01 -0600
From: Mike Gerdts <mgerdts@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
To: Shells discussion <shell-discuss@opensolaris.org>
Cc: Christine Tran <christine.tran@gmail.com>, PSARC-ext@sun.com
Message-id: <65f8f3ad1003120646w744c579aybaefcdf31b400cf7@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=oNeUeBwVH991yD76H6kb8xqiXxKkPAi75rH19uXSR/4=;
 b=wTlcrOrY6JBWK2PFjVi2kmncpqaMxXQMdxOM++2IkdCTfoWKeF2sqWTkNrQ2qbcztG
 m4/riwMD6rklGm393uzo4FsOoSDI3G/1vMHGaMMu7I+54t8k7RvcCJJW4J2wM9x39xOx
 MZCnzZwy8KIK5q+qsZFJTlpWMiXfYNZEzdcuM=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=UXJ/sQ066RKV32iSCFmoLwpuoOp2MbG1ji9LIpXD580Ggd9RjcmUDKwq+imj8KKSYs
 3QH9pwfPH0Sg4ccWtOLJL3F2qgB1xHBBKwCL7xlhuZqvMi2Wlk8mpOOeK7d5e/v66QA5
 Chp3BnfB9a3/61R3y0ipODyFSCkIZqIkPdZSE=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-1.1/5.0, scanned in 0.067sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2CEmrNd027018
Status: RO
Content-Length: 1505

2010/3/12   <olga.kryzhanovska@gmail.com>:
> This one, right?
>    -i[SUFFIX], --in-place[=SUFFIX]
>       edit files in place (makes backup if extension supplied)
>
> -i copies the content to a temporary backup file, truncates the
> original (keeping permissions, ACL flags etc) and starts processing
> from backup to original file, right?

This algorithm can introduce race conditions which could result in
security problems and in disk full conditions can result in a
partially written file.  A better approach would be the equivalent of:

1. ln $file $file.$suffix
2. newfile=$(mktemp $(dirname $file)/$(basename $file).XXXXXX
3. chown $user:$group $newfile
4. chmod $perms $newfile ; # plus more magic to do extended attributes
5. sed $sedprog $file > $newfile
6. rename $newfile $file

Important points of the above are:

1. Takes no space (aside from a directory entry), preserves permissions
2. Secure creation of a temporary file in the same directory as the
file to ensure that rename(2) works.  If a symlink is involved, this
should be done in the directory where the file really exists.
3 - 4. Sets the permissions properly.  Use the same code or algorithm
that cp -p@ uses.
5. What sed normally does
6. An atomic operation, leaves $file.$suffix as the backup file.

Any error in 1 - 5 should cause the initial file to be untouched
(aside from maybe atime and nlink), allowing sed to return an error
without data loss.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/


From carlsonj@workingcode.com Fri Mar 12 06:58:06 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CEw59G027368
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 06:58:05 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CEw2kT021299
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 06:58:05 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ60090VC8T5W00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:58:05 -0700 (MST)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6008Q0C8R5Y00@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 07:58:03 -0700 (MST)
Received: from relay11i.sun.com
 (ip121.net129179-4.block1.us.syntegra.com [129.179.4.121])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CEw3YK024361	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 14:58:03 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay11i.sun.com with ESMTP id BT-MMP-1314846 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:58:02 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-58087869 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 14:58:02 +0000 (Z)
Received: from carlson.workingcode.com ([75.150.68.97] [75.150.68.97])
 by relay1i.sun.com with ESMTP id BT-MMP-27664449 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:58:02 +0000 (Z)
Received: from [10.50.23.149] (gate.abinitio.com [65.170.40.132])
	(authenticated bits=0)	by carlson.workingcode.com (8.14.2+Sun/8.14.3)
 with ESMTP id o2CEvI5H023565
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri,
 12 Mar 2010 09:57:19 -0500 (EST)
Date: Fri, 12 Mar 2010 09:57:18 -0500
From: James Carlson <carlsonj@workingcode.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <e21eff1d1003120638x5d7b8865y69dd66a41bd55fa8@mail.gmail.com>
To: =?KOI8-R?Q?=CF=CC=D8=C7=C1_=CB=D2=D9=D6=C1=CE=CF=D7=D3=CB=C1=D1?=
 <olga.kryzhanovska@gmail.com>
Cc: Christine Tran <christine.tran@gmail.com>, PSARC-ext@sun.com,
        Shells discussion <shell-discuss@opensolaris.org>
Message-id: <4B9A564E.7090504@workingcode.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-DCC-dmv.com-Metrics: carlson; whitelist
X-Antispam: No, score=-0.2/5.0, scanned in 0.215sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <836212a71003120634v298d4c56sc50c204c1e6eae2f@mail.gmail.com>
 <e21eff1d1003120638x5d7b8865y69dd66a41bd55fa8@mail.gmail.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)
Status: RO
Content-Length: 1306

  wrote:
> 2010/3/12 Christine Tran <christine.tran@gmail.com>:
>> 2010/3/12   <olga.kryzhanovska@gmail.com>:
>>> This one, right?
>>>       -i[SUFFIX], --in-place[=SUFFIX]
>>>              edit files in place (makes backup if extension supplied)
>>>
>>> -i copies the content to a temporary backup file, truncates the
>>> original (keeping permissions, ACL flags etc) and starts processing
>>> from backup to original file, right?
>>>
>>>
>>> Which purpose has this option (I can't look at the GPL code without
>>> getting tainted by the GPL):
>>> --follow-symlinks
>>>              follow symlinks when processing in place
>> Yes, that's the one.
> 
> I understand now how -i works but I am puzzled about --follow-symlinks
> - why is it required?

I would expect that it uses O_NOFOLLOW by default, and --follow-symlinks
is there to allow the user to disable that feature if he's really sure
he wants to do that.

If you were running the program as a privileged user you might want to
have this flag enabled by default so that if someone sneaks in a symlink
to /etc/passwd in place of one of the files you thought you were
processing, you don't accidentally do something you'll regret later.

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

From olga.kryzhanovska@gmail.com Fri Mar 12 06:59:55 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CExt96027384
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 06:59:55 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CExtZg008632
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 06:59:55 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600F05CBV4F00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 06:59:55 -0800 (PST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6008Z9CBTQM40@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 06:59:53 -0800 (PST)
Received: from relay14i.sun.com
 (ip124.net129179-4.block1.us.syntegra.com [129.179.4.124])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CEtBTd010903	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 14:59:52 +0000 (GMT)
Received: from mmp12es.mmp.us.syntegra.com ([160.41.208.12] [160.41.208.12])
 by relay14i.sun.com with ESMTP id BT-MMP-2201897 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:59:52 +0000 (Z)
Received: from relay14i.sun.com (relay14i.sun.com [129.179.4.124])
 by mmp12es.mmp.us.syntegra.com with ESMTP id BT-MMP-57830246 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 14:59:52 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-26975545 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 14:59:51 +0000 (Z)
Received: by mail-bw0-f222.google.com with SMTP id 22so1203446bwz.8 for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 06:59:49 -0800 (PST)
Received: by 10.204.10.151 with SMTP id p23mr304758bkp.80.1268405988148; Fri,
 12 Mar 2010 06:59:48 -0800 (PST)
Date: Fri, 12 Mar 2010 15:59:48 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <65f8f3ad1003120646w744c579aybaefcdf31b400cf7@mail.gmail.com>
To: Shells discussion <shell-discuss@opensolaris.org>
Cc: PSARC-ext@sun.com
Message-id: <e21eff1d1003120659q5bcaa967k4a749a783af0e784@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=dBA4Xu8+I0in3oggWomHdJa7oo7u5uFoadttR5r7Njc=;
 b=L261y0pqPfakCWGXcDLoMnW9dfzUBSWE5m8u90zumnnrG7LByF7RarhFWq6XkaxB+D
 HS3TUOmTrS7h3z9nibGiPCa0yRazgWaiADNJ++HQa03e1dLd5PnZJ3zY7hVFaNCNAnpL
 TMb/GSISPwbVJv4VuxenQ7BTxfzUdUbksz45A=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=GEA8cJ0hl/gX0vh3fSCA9F7vW6VR95/wctC9mOhdjntLrjqxfAqQDHMZC18McPZery
 Ayl9FbOXhUA9D5JcHQcor8Za9zB+ZDV+y6CZdXCf4KeiUOjRi3+CZIWhinOvW0YPoMjq
 Zml+5vshZqmqNga6sq1enUp/qQ2FHq1oFmhK8=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.7/5.0, scanned in 0.069sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <65f8f3ad1003120646w744c579aybaefcdf31b400cf7@mail.gmail.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2CExt96027384
Status: RO
Content-Length: 2068

2010/3/12 Mike Gerdts <mgerdts@gmail.com>:
> 2010/3/12   <olga.kryzhanovska@gmail.com>:
>> This one, right?
>>       -i[SUFFIX], --in-place[=SUFFIX]
>>              edit files in place (makes backup if extension supplied)
>>
>> -i copies the content to a temporary backup file, truncates the
>> original (keeping permissions, ACL flags etc) and starts processing
>> from backup to original file, right?
>
> This algorithm can introduce race conditions which could result in
> security problems and in disk full conditions can result in a
> partially written file.

Where do you see the race?

> A better approach would be the equivalent of:
>
> 1. ln $file $file.$suffix
> 2. newfile=$(mktemp $(dirname $file)/$(basename $file).XXXXXX
> 3. chown $user:$group $newfile
> 4. chmod $perms $newfile ; # plus more magic to do extended attributes
> 5. sed $sedprog $file > $newfile
> 6. rename $newfile $file
>
> Important points of the above are:
>
> 1. Takes no space (aside from a directory entry), preserves permissions
> 2. Secure creation of a temporary file in the same directory as the
> file to ensure that rename(2) works.  If a symlink is involved, this
> should be done in the directory where the file really exists.
> 3 - 4. Sets the permissions properly.  Use the same code or algorithm
> that cp -p@ uses.

This is a hard part which I like to avoid.
1. There is no libc function which does copy all ACL data the way cp
-p@ does. We have to copy much of cp's code.
2. It is not possible to set owner/group or all ACLs if we are not in
the same user/group, yet the original file may be writable for me but
not owned by me. Truncating the file avoids the requirement to copy
the ACL or owner/group totally.

Olga
-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`


From olga.kryzhanovska@gmail.com Fri Mar 12 07:07:38 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CF7bR6027522
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 07:07:38 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CF7aef010610
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 09:07:37 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600G0NCOOUX00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:07:36 -0800 (PST)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ60088JCOMQM70@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 07:07:34 -0800 (PST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CF7YAV002725	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 15:07:34 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay13i.sun.com with ESMTP id BT-MMP-2216871 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 15:07:34 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-58107695 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 15:07:34 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-8050346 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 15:07:33 +0000 (Z)
Received: by mail-bw0-f222.google.com with SMTP id 22so1211994bwz.8 for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 07:07:28 -0800 (PST)
Received: by 10.204.36.70 with SMTP id s6mr3788090bkd.22.1268406448385; Fri,
 12 Mar 2010 07:07:28 -0800 (PST)
Date: Fri, 12 Mar 2010 16:07:28 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <4B9A564E.7090504@workingcode.com>
To: James Carlson <carlsonj@workingcode.com>
Cc: Christine Tran <christine.tran@gmail.com>, PSARC-ext@sun.com,
        Shells discussion <shell-discuss@opensolaris.org>
Message-id: <e21eff1d1003120707t714e6efdq94c5e3e46b4306e7@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=qq4tEDs2AvBcKePPmQypsVAtBuhwv4fCFEIkGlz9KrY=;
 b=cdTGBGKUtxvwbbcOMKw53o8vapEuY+BBKEMzLFpYONHNoXxiQak4C+hTiNQycDqnEZ
 uyU1zsWVx26RbbYY71fCgcK45/av6+MgQM6Mlj/OKI0UK/bP9DWSQIv24ndIO7lxPO6J
 ec/jgbJGp6EAj9x1rTWfn7wqjMP5qBCxw+wPQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=WrL8BPi0+i1/745/GMJuilDHr7wPq+hS4jUMJKhKQju9Afp6K6RF6LnYF57H2gIIyD
 OWa/nn+0JT5a8bfS4qh1WSmOZ0AOgEHtXeTxylnl39pl+3fdY93W31k+9A0Je4xHx+0T
 CJXTAb3sRnbSDtUBUl1ZnkGoUHXKynjBmFzIs=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.7/5.0, scanned in 0.067sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <836212a71003120634v298d4c56sc50c204c1e6eae2f@mail.gmail.com>
 <e21eff1d1003120638x5d7b8865y69dd66a41bd55fa8@mail.gmail.com>
 <4B9A564E.7090504@workingcode.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2CF7bR6027522
Status: RO
Content-Length: 1781

truss says it does not use O_NOFOLLOW.

Olga

2010/3/12 James Carlson <carlsonj@workingcode.com>:
>   wrote:
>> 2010/3/12 Christine Tran <christine.tran@gmail.com>:
>>> 2010/3/12   <olga.kryzhanovska@gmail.com>:
>>>> This one, right?
>>>>       -i[SUFFIX], --in-place[=SUFFIX]
>>>>              edit files in place (makes backup if extension supplied)
>>>>
>>>> -i copies the content to a temporary backup file, truncates the
>>>> original (keeping permissions, ACL flags etc) and starts processing
>>>> from backup to original file, right?
>>>>
>>>>
>>>> Which purpose has this option (I can't look at the GPL code without
>>>> getting tainted by the GPL):
>>>> --follow-symlinks
>>>>              follow symlinks when processing in place
>>> Yes, that's the one.
>>
>> I understand now how -i works but I am puzzled about --follow-symlinks
>> - why is it required?
>
> I would expect that it uses O_NOFOLLOW by default, and --follow-symlinks
> is there to allow the user to disable that feature if he's really sure
> he wants to do that.
>
> If you were running the program as a privileged user you might want to
> have this flag enabled by default so that if someone sneaks in a symlink
> to /etc/passwd in place of one of the files you thought you were
> processing, you don't accidentally do something you'll regret later.
>
> --
> James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`


From carlsonj@workingcode.com Fri Mar 12 07:13:07 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CFD7eW027620
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 07:13:07 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2CFD2ME035191
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 08:13:07 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600D19CXUKN00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:13:06 -0800 (PST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6003DECXTZ1A0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 07:13:06 -0800 (PST)
Received: from relay44i.sun.com ([192.5.209.118])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CF3GiG014644	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 15:13:05 +0000 (GMT)
Received: from mmp43es.mmp.us.syntegra.com ([160.41.221.12] [160.41.221.12])
 by relay44i.sun.com with ESMTP id BT-MMP-2094575 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 15:13:05 +0000 (Z)
Received: from relay44i.sun.com (relay44i.sun.com [192.5.209.118])
 by mmp43es.mmp.us.syntegra.com with ESMTP id BT-MMP-36922306 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 15:13:02 +0000 (Z)
Received: from carlson.workingcode.com ([75.150.68.97] [75.150.68.97])
 by relay4i.sun.com with ESMTP id BT-MMP-5602947 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 15:13:02 +0000 (Z)
Received: from [10.50.23.149] (gate.abinitio.com [65.170.40.132])
	(authenticated bits=0)	by carlson.workingcode.com (8.14.2+Sun/8.14.3)
 with ESMTP id o2CFCO8H025437
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri,
 12 Mar 2010 10:12:24 -0500 (EST)
Date: Fri, 12 Mar 2010 10:12:22 -0500
From: James Carlson <carlsonj@workingcode.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <e21eff1d1003120659q5bcaa967k4a749a783af0e784@mail.gmail.com>
To: =?KOI8-R?Q?=CF=CC=D8=C7=C1_=CB=D2=D9=D6=C1=CE=CF=D7=D3=CB=C1=D1?=
 <olga.kryzhanovska@gmail.com>
Cc: Shells discussion <shell-discuss@opensolaris.org>, PSARC-ext@sun.com
Message-id: <4B9A59D6.2080709@workingcode.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-DCC-dmv.com-Metrics: carlson; whitelist
X-Antispam: No, score=-0.2/5.0, scanned in 2.029sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <65f8f3ad1003120646w744c579aybaefcdf31b400cf7@mail.gmail.com>
 <e21eff1d1003120659q5bcaa967k4a749a783af0e784@mail.gmail.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)
Status: RO
Content-Length: 1059

  wrote:
> 2010/3/12 Mike Gerdts <mgerdts@gmail.com>:
>> 2010/3/12   <olga.kryzhanovska@gmail.com>:
>>> This one, right?
>>>       -i[SUFFIX], --in-place[=SUFFIX]
>>>              edit files in place (makes backup if extension supplied)
>>>
>>> -i copies the content to a temporary backup file, truncates the
>>> original (keeping permissions, ACL flags etc) and starts processing
>>> from backup to original file, right?
>> This algorithm can introduce race conditions which could result in
>> security problems and in disk full conditions can result in a
>> partially written file.
> 
> Where do you see the race?

TOCTTOU.  Root does this:

  find /tmp -type f -print | xargs sed -i 's/this/that/'

Bad guy does something like this in a loop:

  while true; do
	touch /tmp/gotcha
	rm /tmp/gotcha
	ln -s /etc/passwd /tmp/gotcha
	rm /tmp/gotcha
  done

If you hit it just right, "find" sees the regular file, but "sed" gets
fed a symlink.  Boom.

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

From carlsonj@workingcode.com Fri Mar 12 07:15:49 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CFFmbx027638
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 07:15:49 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CFFmA8016345
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 09:15:48 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600D0DD2CQD00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:15:48 -0800 (PST)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ600327D2BYWA0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 07:15:47 -0800 (PST)
Received: from relay42i.sun.com ([192.5.209.72])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CF0tWD000905	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 15:15:47 +0000 (GMT)
Received: from mmp41es.mmp.us.syntegra.com ([160.41.221.10] [160.41.221.10])
 by relay42i.sun.com with ESMTP id BT-MMP-2115367 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 15:15:47 +0000 (Z)
Received: from relay41i.sun.com (relay41i.sun.com [192.5.209.70])
 by mmp41es.mmp.us.syntegra.com with ESMTP id BT-MMP-38402114 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 15:15:46 +0000 (Z)
Received: from carlson.workingcode.com ([75.150.68.97] [75.150.68.97])
 by relay4i.sun.com with ESMTP id BT-MMP-4930850 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 15:15:46 +0000 (Z)
Received: from [10.50.23.149] (gate.abinitio.com [65.170.40.132])
	(authenticated bits=0)	by carlson.workingcode.com (8.14.2+Sun/8.14.3)
 with ESMTP id o2CFFBib025619
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri,
 12 Mar 2010 10:15:11 -0500 (EST)
Date: Fri, 12 Mar 2010 10:15:10 -0500
From: James Carlson <carlsonj@workingcode.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <e21eff1d1003120707t714e6efdq94c5e3e46b4306e7@mail.gmail.com>
To: =?KOI8-R?Q?=CF=CC=D8=C7=C1_=CB=D2=D9=D6=C1=CE=CF=D7=D3=CB=C1=D1?=
 <olga.kryzhanovska@gmail.com>
Cc: Christine Tran <christine.tran@gmail.com>, PSARC-ext@sun.com,
        Shells discussion <shell-discuss@opensolaris.org>
Message-id: <4B9A5A7E.6030107@workingcode.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-DCC-dmv.com-Metrics: carlson; whitelist
X-Antispam: No, score=0.0/5.0, scanned in 0.193sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <836212a71003120634v298d4c56sc50c204c1e6eae2f@mail.gmail.com>
 <e21eff1d1003120638x5d7b8865y69dd66a41bd55fa8@mail.gmail.com>
 <4B9A564E.7090504@workingcode.com>
 <e21eff1d1003120707t714e6efdq94c5e3e46b4306e7@mail.gmail.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)
Status: RO
Content-Length: 151

  wrote:
> truss says it does not use O_NOFOLLOW.

Bug?

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

From gdamore@sun.com Fri Mar 12 07:20:18 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CFKInZ027742
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 07:20:18 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CFKGjY019573
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 09:20:17 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600K1FD9T3G00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:20:17 -0800 (PST)
Received: from sca-es-mail-2.sun.com ([192.18.43.133])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6008EPD9RQO90@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 07:20:15 -0800 (PST)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CFKFxI016974	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 07:20:15 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZ600K00D7X0T00@fe-sfbay-09.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:20:15 -0800 (PST)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KZ600M31D9Q7860@fe-sfbay-09.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:20:15 -0800 (PST)
Date: Fri, 12 Mar 2010 07:20:14 -0800
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
Sender: Garrett.Damore@sun.com
To: =?UTF-8?B?0L7Qu9GM0LPQsCDQutGA0YvQttCw0L3QvtCy0YHQutCw0Y8=?=
 <olga.kryzhanovska@gmail.com>
Cc: Christine Tran <christine.tran@gmail.com>,
        Shells discussion <shell-discuss@opensolaris.org>, PSARC-ext@sun.com
Message-id: <4B9A5BAE.3020303@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=UTF-8
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Lightning/1.0b1 Thunderbird/3.0.1
Status: RO
Content-Length: 1515

On 03/12/10 04:13 AM, ольга крыжановская wrote:
> Christine: Which options and features do you need/want?
>
> Garrett: I used Roland's phrase "[...]so out of order and partial
> putbacks at this granularity should have no adverse impact on the
> functionality and behavior of the system as a whole[...]". Does this
> phrase even apply to individual options? The XPG4 part this case
> refers to is already ready for integration into ON since 2006 sans -u
> and could be integrated ASAP and the new in-place replacement feature
> could be delivered quickly after that. Or do we have to deliver only
> binaries with the full set of features?
>    

Don't wait, we'll add the new features later.

     - Garrett

> Olga
>
> On Thu, Mar 11, 2010 at 8:56 PM, Christine Tran
> <christine.tran@gmail.com>  wrote:
>    
>>> 6687656 RFE: Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>>>
>>>
>>>
>>> Interface                         Stability        Description
>>> ---------                         ---------        -----------
>>> /usr/bin/sed                      See man page     sed command
>>> /usr/xpg4/bin/sed                 See man page     sed command
>>> ksh93 builtin /usr/xpg4/bin/sed   See man page     sed command
>>>
>>>
>>> The following options will be supported additionally to the existing
>>> -n, -e, -f options for BSD and GNU compatibility:
>>>        
>> Sorry ... no in-place replacement?  I use GNU sed strictly for this reason.
>>
>>
>>
>>      
>
>
>    


From mgerdts@gmail.com Fri Mar 12 07:31:05 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CFV4I9027864
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 07:31:04 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CFV2wR027575
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 09:31:04 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600E0JDRRLS00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:31:03 -0800 (PST)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6003Z6DROZ1B0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 07:31:00 -0800 (PST)
Received: from relay43i.sun.com ([192.5.209.74])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CFRV45028565	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 15:31:00 +0000 (GMT)
Received: from mmp42es.mmp.us.syntegra.com ([160.41.221.11] [160.41.221.11])
 by relay43i.sun.com with ESMTP id BT-MMP-569474 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 15:31:00 +0000 (Z)
Received: from relay44i.sun.com (relay44i.sun.com [192.5.209.118])
 by mmp42es.mmp.us.syntegra.com with ESMTP id BT-MMP-37156165 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 15:30:59 +0000 (Z)
Received: from mail-pv0-f177.google.com ([74.125.83.177] [74.125.83.177])
 by relay4i.sun.com with ESMTP id BT-MMP-5630197 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 15:30:59 +0000 (Z)
Received: by pvc22 with SMTP id 22so543949pvc.8 for <PSARC-ext@sun.com>; Fri,
 12 Mar 2010 07:30:09 -0800 (PST)
Received: by 10.141.188.4 with SMTP id q4mr1677015rvp.147.1268407808807; Fri,
 12 Mar 2010 07:30:08 -0800 (PST)
Date: Fri, 12 Mar 2010 09:30:08 -0600
From: Mike Gerdts <mgerdts@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <e21eff1d1003120659q5bcaa967k4a749a783af0e784@mail.gmail.com>
To: Shells discussion <shell-discuss@opensolaris.org>
Cc: PSARC-ext@sun.com
Message-id: <65f8f3ad1003120730j4ce386a3i4d5950d22f161109@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=QUnQnJ1nhAgNcZvF1qfDE3d2Y+yJJNeCEsV6xfOQ96I=;
 b=t+qTod2yE4mMW8ni1iQQFlScwNvV+kSCIZsT7mpbN61bJpNVJAcbxADuSfnBD3lZFs
 nR5NgkNkB9Ky1f+IDRopJmRp4oua7jtYOWtM+SoAts6YsNT87qQDyKZASd6Res95frFi
 VeINNxt29U44dVb8tYsEZHXx42Al0fH5EZaPg=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=u9LjZfKQv3XX/1XD9ug695i374DTmbn7FzsIyCwYaG4pObhXA0WYcboLoFcY0avuQ5
 WziSpstw8CIAYW4JLicINcxZxg39/0XvSQpV7ZdUUtfT5nv7k6gM+aQYJae/WsOYnyN2
 nBRATIvX0lYp8QcZIKDMiqXwn9QRQmYqEJ83A=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-1.1/5.0, scanned in 0.088sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <65f8f3ad1003120646w744c579aybaefcdf31b400cf7@mail.gmail.com>
 <e21eff1d1003120659q5bcaa967k4a749a783af0e784@mail.gmail.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2CFV4I9027864
Status: RO
Content-Length: 3212

2010/3/12   <olga.kryzhanovska@gmail.com>:
> 2010/3/12 Mike Gerdts <mgerdts@gmail.com>:
>> 2010/3/12   <olga.kryzhanovska@gmail.com>:
>>> This one, right?
>>>    -i[SUFFIX], --in-place[=SUFFIX]
>>>       edit files in place (makes backup if extension supplied)
>>>
>>> -i copies the content to a temporary backup file, truncates the
>>> original (keeping permissions, ACL flags etc) and starts processing
>>> from backup to original file, right?
>>
>> This algorithm can introduce race conditions which could result in
>> security problems and in disk full conditions can result in a
>> partially written file.
>
> Where do you see the race?

The following immediately come to mind:

1.  sed just truncated /etc/passwd and has not yet written data:
1a.  The system cannot come back up because it can't do user name resolution.
1b.  A user tries to log in and gets a "permission denied error"
because the passwd(4) entry does not exist.

2. sed is modifying a large /etc/passwd.  The first write(2) has
happened but this is only part of the file.  Simultaneously "rsdude"
is logging in.  The last line of /etc/passwd looks like the following:

rsdude:x:1234:1234:Restricted Shell Dude:/home/rsdude:

Normally that line would have /usr/bin/rksh at the end.  Due to an
unfortunate buffer boundary the shell wasn't written.  passwd(4) says
that this person will get /usr/bin/sh.

     login-shell     is the user's initial shell program. If this
                     field   is   empty,  the  default  shell  is
                     /usr/bin/sh.

3.  The file system was very close to being full when sed started.
Suppose sed managed to create the backup copy and truncated the file
but something else did a write taking the last free blocks before sed
could reuse the blocks it freed up with the truncate.  In this case,
the file that was supposed to be modified in place was truncated.

>
>> A better approach would be the equivalent of:
>>
>> 1. ln $file $file.$suffix
>> 2. newfile=$(mktemp $(dirname $file)/$(basename $file).XXXXXX
>> 3. chown $user:$group $newfile
>> 4. chmod $perms $newfile ; # plus more magic to do extended attributes
>> 5. sed $sedprog $file > $newfile
>> 6. rename $newfile $file
>>
>> Important points of the above are:
>>
>> 1. Takes no space (aside from a directory entry), preserves permissions
>> 2. Secure creation of a temporary file in the same directory as the
>> file to ensure that rename(2) works. If a symlink is involved, this
>> should be done in the directory where the file really exists.
>> 3 - 4. Sets the permissions properly. Use the same code or algorithm
>> that cp -p@ uses.
>
> This is a hard part which I like to avoid.
> 1. There is no libc function which does copy all ACL data the way cp
> -p@ does. We have to copy much of cp's code.

I think there is a strong case for adding such a function to libc.

> 2. It is not possible to set owner/group or all ACLs if we are not in
> the same user/group, yet the original file may be writable for me but
> not owned by me. Truncating the file avoids the requirement to copy
> the ACL or owner/group totally.

Quite true.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/


From Alan.Coopersmith@sun.com Fri Mar 12 07:35:05 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CFZ5Yi027904
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 07:35:05 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CFZ52w028431
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 07:35:05 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600C0BDYGWF00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 08:35:04 -0700 (MST)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6008AYDYF5R30@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 08:35:03 -0700 (MST)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CFZ3PO003817	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 07:35:03 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZ600900DWJHJ00@fe-sfbay-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 07:35:03 -0800 (PST)
Received: from [129.145.155.53] ([unknown] [129.145.155.53])
 by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KZ6000OQDYF6E90@fe-sfbay-10.sun.com>; Fri,
 12 Mar 2010 07:35:03 -0800 (PST)
Date: Fri, 12 Mar 2010 07:35:03 -0800
From: Alan Coopersmith <Alan.Coopersmith@sun.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <df1347731003120602xa5abb57q72d7780cea5e7317@mail.gmail.com>
Sender: Alan.Coopersmith@sun.com
To: Peter Tribble <peter.tribble@gmail.com>
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <4B9A5F27.6040508@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Enigmail-Version: 0.95.1
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <df1347731003120602xa5abb57q72d7780cea5e7317@mail.gmail.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090926)
Status: RO
Content-Length: 840



Peter Tribble wrote:
> On Thu, Mar 11, 2010 at 12:28 AM, Garrett D'Amore - sun microsystems
> <gd78059@sac.sfbay.sun.com> wrote:
>> Template Version: @(#)sac_nextcase 1.69 02/15/10 SMI
>> This information is Copyright 2010 Sun Microsystems
>> 1. Introduction
>>    1.1. Project/Component Working Name:
>>         open source sed
>>    1.2. Name of Document Author/Supplier:
>>         Author:  Olga Kryzhanovska
>>    1.3  Date of This Document:
>>        10 March, 2010
>> 4. Technical Description
>>
>> I'm sponsoring this fast-track request on behalf of the
>> POSIX utility community and shell project.
> 
> Nit: Is there such a community?

Perhaps they're just a community of people and not a formal Community Group?

-- 
	-Alan Coopersmith-           alan.coopersmith@sun.com
	 Oracle Solaris Platform Engineering: X Window System


From Alan.Coopersmith@sun.com Fri Mar 12 07:37:58 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CFbwIZ028090
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 07:37:58 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CFbwIl029993
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 07:37:58 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600E07E3AYQ00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Fri, 12 Mar 2010 07:37:58 -0800 (PST)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6003NOE39Z1C0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Fri,
 12 Mar 2010 07:37:57 -0800 (PST)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CFbvqB004178	for
 <PSARC-ext@Sun.COM>; Fri, 12 Mar 2010 07:37:57 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZ600B00DX24X00@fe-sfbay-09.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Fri, 12 Mar 2010 07:37:57 -0800 (PST)
Received: from [129.145.155.53] ([unknown] [129.145.155.53])
 by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KZ600MTAE3878A0@fe-sfbay-09.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Fri, 12 Mar 2010 07:37:57 -0800 (PST)
Date: Fri, 12 Mar 2010 07:37:56 -0800
From: Alan Coopersmith <Alan.Coopersmith@sun.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
Sender: Alan.Coopersmith@sun.com
To: =?UTF-8?B?0L7Qu9GM0LPQsCDQutGA0YvQttCw0L3QvtCy0YHQutCw0Y8=?=
 <olga.kryzhanovska@gmail.com>
Cc: Christine Tran <christine.tran@gmail.com>, PSARC-ext@sun.com,
        Shells discussion <shell-discuss@opensolaris.org>
Message-id: <4B9A5FD4.60301@sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Enigmail-Version: 0.95.1
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090926)
Status: RO
Content-Length: 582

ольга крыжановская wrote:
> Which purpose has this option (I can't look at the GPL code without
> getting tainted by the GPL):

The "viral" nature of the GPL only applies to copying code, it
can't "infect" humans (unless you have a perfect memory and are
likely to retype the code you saw directly into your code base,
effectively copying it).   That's off topic for this ARC review
though, so further discussion should move off the PSARC-ext list.

-- 
	-Alan Coopersmith-           alan.coopersmith@sun.com
	 Oracle Solaris Platform Engineering: X Window System


From Alan.Burlison@sun.com Fri Mar 12 10:06:10 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CI6AFQ002588
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 10:06:10 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CI69pB013034
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 10:06:09 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600F3JKY78700@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 10:06:07 -0800 (PST)
Received: from dm-uk-01.uk.sun.com ([129.156.101.115])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ60049AKY1O5A0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 10:06:02 -0800 (PST)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-01.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2CI5xZ2012410; Fri, 12 Mar 2010 18:05:59 +0000 (GMT)
Received: from vpn-129-150-121-142.uk.sun.com ([129.150.121.142])
	by barman.uk.sun.com with esmtp (Exim 4.42)	id 1Nq9FG-0000Ze-IB; Fri,
 12 Mar 2010 18:05:58 +0000
Date: Fri, 12 Mar 2010 18:05:58 +0000
From: Alan Burlison <Alan.Burlison@sun.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <e21eff1d1003120549r7490263esdc538fc58f2b7a07@mail.gmail.com>
To: =?UTF-8?B?0L7Qu9GM0LPQsCDQutGA0YvQttCw0L3QvtCy0YHQutCw0Y8=?=
 <olga.kryzhanovska@gmail.com>
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <4B9A8286.1060706@sun.com>
Organization: Oracle
MIME-version: 1.0
Content-type: text/plain; charset=UTF-8; format=flowed
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B9A413F.3050402@sun.com>
 <e21eff1d1003120549r7490263esdc538fc58f2b7a07@mail.gmail.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Thunderbird/3.0.1
Status: RO
Content-Length: 767

On 12/03/2010 13:49, ольга крыжановская wrote:

> AT&T AST sed from the ast-open package. It is a direct descendant of
> the AT&T sed in UNIX. The same package contains ksh93, has the same
> license (CPL 1.0) as ksh93 and passes VSC.

And what about the POSIX conformance testing?

>
> Olga
>
> On Fri, Mar 12, 2010 at 2:27 PM, Alan Burlison<Alan.Burlison@sun.com>  wrote:
>> On 11/03/2010 00:28, Garrett D'Amore - sun microsystems wrote:
>>
>>> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>>
>> Can you provide some information on which opensource implementation you are
>> intending to use?  Have you confirmed that it passes the VSC test suite?
>>
>> Thanks,
>>
>> --
>> Alan Burlison
>> --
>>
>
>
>


-- 
Alan Burlison
--

From dcragun@sonic.net Fri Mar 12 10:33:11 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CIXB0L002741
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 10:33:11 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2CIWxig003467
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 11:33:11 -0700 (MST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ60080BM6X3E00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 11:32:57 -0700 (MST)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6007GXM6W5900@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 11:32:56 -0700 (MST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CITN8F023169	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 18:32:55 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay13i.sun.com with ESMTP id BT-MMP-2230742 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 18:32:55 +0000 (Z)
Received: from relay14i.sun.com (relay14i.sun.com [129.179.4.124])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-58529224 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 18:32:55 +0000 (Z)
Received: from a.mail.sonic.net ([64.142.16.245] [64.142.16.245])
 by relay1i.sun.com with ESMTP id BT-MMP-27421450 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 18:32:55 +0000 (Z)
Received: from [10.0.0.4]
 (76-191-129-144.dsl.dynamic.sonic.net [76.191.129.144])	(authenticated bits=0)
	by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o2CIWJDl001848
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri,
 12 Mar 2010 10:32:19 -0800
Date: Fri, 12 Mar 2010 10:32:18 -0800
From: Don Cragun <dcragun@sonic.net>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack  timeout
 03/17/2010]
In-reply-to: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
To: PSARC-ext@sun.com, Shells discussion <shell-discuss@opensolaris.org>
Message-id: <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net>
MIME-version: 1.0
X-Mailer: Apple Mail (2.1077)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.2/5.0, scanned in 0.059sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
Status: RO
Content-Length: 1333

On Mar 12, 2010, at 14:49:39 +0100, olga.kryzhanovska@gmail.com wrote:

> AT&T AST sed from the ast-open package. It is a direct descendant of
> the AT&T sed in UNIX. The same package contains ksh93, has the same
> license (CPL 1.0) as ksh93 and passes VSC.

While it is nice (and correct) to say that ksh93 passes the VSC tests
for sh, that is not an indication that the sed functionality built
into ksh93 will pass the VSC tests for sed.

I assume that the Oracle sponsor you get for your putback for this case
will verify that this version of sed passes the VSC tests before you
putback.  I also assume that you (with help from David and Glenn) will
fix any failures detected (either by changing the code or by getting
approved TSDs from TOG for test suite failures) if sed does not pass
the VSC sed tests.  This is what has been done with all of the other
ksh93 project putbacks.

 - Don

> 
> Olga
> 
> On Fri, Mar 12, 2010 at 2:27 PM, Alan Burlison <Alan.Burlison@sun.com> wrote:
>> On 11/03/2010 00:28, Garrett D'Amore - sun microsystems wrote:
>> 
>>> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>> 
>> Can you provide some information on which opensource implementation you are
>> intending to use?  Have you confirmed that it passes the VSC test suite?
>> 
>> Thanks,
>> 
>> --
>> Alan Burlison
> 


From gdamore@sun.com Fri Mar 12 10:39:52 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CIdqXX002822
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 10:39:52 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CIdqr6000102
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 10:39:52 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ60080PMIGQ100@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 11:39:52 -0700 (MST)
Received: from sca-es-mail-2.sun.com ([192.18.43.133])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6007A9MIF5B10@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 11:39:51 -0700 (MST)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CIdpX7020589	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 10:39:51 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZ600A00MB1C100@fe-sfbay-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 10:39:51 -0800 (PST)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KZ600GOBMIE9HB0@fe-sfbay-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 10:39:51 -0800 (PST)
Date: Fri, 12 Mar 2010 10:39:50 -0800
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack  timeout
 03/17/2010]
In-reply-to: <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net>
Sender: Garrett.Damore@sun.com
To: Don Cragun <dcragun@sonic.net>
Cc: PSARC-ext@sun.com, Shells discussion <shell-discuss@opensolaris.org>
Message-id: <4B9A8A76.9060604@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Lightning/1.0b1 Thunderbird/3.0.1
Status: RO
Content-Length: 1423

On 03/12/10 10:32 AM, Don Cragun wrote:
> On Mar 12, 2010, at 14:49:39 +0100, olga.kryzhanovska@gmail.com wrote:
>
>    
>> AT&T AST sed from the ast-open package. It is a direct descendant of
>> the AT&T sed in UNIX. The same package contains ksh93, has the same
>> license (CPL 1.0) as ksh93 and passes VSC.
>>      
> While it is nice (and correct) to say that ksh93 passes the VSC tests
> for sh, that is not an indication that the sed functionality built
> into ksh93 will pass the VSC tests for sed.
>
> I assume that the Oracle sponsor you get for your putback for this case
> will verify that this version of sed passes the VSC tests before you
> putback.  I also assume that you (with help from David and Glenn) will
> fix any failures detected (either by changing the code or by getting
> approved TSDs from TOG for test suite failures) if sed does not pass
> the VSC sed tests.  This is what has been done with all of the other
> ksh93 project putbacks.
>    

I don't think there was any indication anywhere that the bits would 
*not* pass POSIX conformance tests.  Obviously a change of this nature 
(specifically to /usr/xpg4/bin/sed) requires such conformance testing to 
be done.  Such testing, however, is not architectural in scope.  
(Conversely, if the team were going to abandon POSIX conformance, then 
that would be architectural in scope.  But that is not what has been 
proposed.)

     - Garrett


From dcragun@sonic.net Fri Mar 12 11:24:43 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CJOhHl004034
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 11:24:43 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CJOeUC024300;
	Fri, 12 Mar 2010 11:24:42 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600D0POL5B100@brm-avmta-1.central.sun.com>; Fri,
 12 Mar 2010 12:24:41 -0700 (MST)
Received: from sca-ea-mail-1.sun.com ([192.18.43.24])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ600799OL45F40@brm-avmta-1.central.sun.com>; Fri,
 12 Mar 2010 12:24:41 -0700 (MST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CJOeev011665;
 Fri, 12 Mar 2010 19:24:40 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay13i.sun.com with ESMTP id BT-MMP-2234544; Fri,
 12 Mar 2010 19:22:40 +0000 (Z)
Received: from relay14i.sun.com (relay14i.sun.com [129.179.4.124])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-58627487; Fri,
 12 Mar 2010 19:22:40 +0000 (Z)
Received: from b.mail.sonic.net ([64.142.19.5] [64.142.19.5])
 by relay1i.sun.com with ESMTP id BT-MMP-27521545; Fri,
 12 Mar 2010 19:22:39 +0000 (Z)
Received: from [10.0.0.4]
 (76-191-129-144.dsl.dynamic.sonic.net [76.191.129.144])	(authenticated bits=0)
	by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o2CJLwan003328
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri,
 12 Mar 2010 11:21:58 -0800
Date: Fri, 12 Mar 2010 11:21:58 -0800
From: Don Cragun <dcragun@sonic.net>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack  timeout
 03/17/2010]
In-reply-to: <4B9A8A76.9060604@sun.com>
To: "Garrett D'Amore" <gdamore@sun.com>, Alan Burlison <Alan.Burlison@sun.com>
Cc: PSARC-ext@sun.com, Shells discussion <shell-discuss@opensolaris.org>
Message-id: <63A183CF-A87F-4EA2-BCAA-82338E66B135@sonic.net>
MIME-version: 1.0
X-Mailer: Apple Mail (2.1077)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-1.1/5.0, scanned in 0.080sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net> <4B9A8A76.9060604@sun.com>
Status: RO
Content-Length: 2740


On Mar 12, 2010, at 10:39 AM, Garrett D'Amore wrote:

> On 03/12/10 10:32 AM, Don Cragun wrote:
>> On Mar 12, 2010, at 14:49:39 +0100, olga.kryzhanovska@gmail.com wrote:
>> 
>>   
>>> AT&T AST sed from the ast-open package. It is a direct descendant of
>>> the AT&T sed in UNIX. The same package contains ksh93, has the same
>>> license (CPL 1.0) as ksh93 and passes VSC.
>>>     
>> While it is nice (and correct) to say that ksh93 passes the VSC tests
>> for sh, that is not an indication that the sed functionality built
>> into ksh93 will pass the VSC tests for sed.
>> 
>> I assume that the Oracle sponsor you get for your putback for this case
>> will verify that this version of sed passes the VSC tests before you
>> putback.  I also assume that you (with help from David and Glenn) will
>> fix any failures detected (either by changing the code or by getting
>> approved TSDs from TOG for test suite failures) if sed does not pass
>> the VSC sed tests.  This is what has been done with all of the other
>> ksh93 project putbacks.
>>   
> 
> I don't think there was any indication anywhere that the bits would *not* pass POSIX conformance tests.  Obviously a change of this nature (specifically to /usr/xpg4/bin/sed) requires such conformance testing to be done.  Such testing, however, is not architectural in scope.  (Conversely, if the team were going to abandon POSIX conformance, then that would be architectural in scope.  But that is not what has been proposed.)
> 
>    - Garrett

Garrett,
Alan asked if this version of sed passed VSC sed tests.  Olga said
ksh93 passed VSC sh tests.  I was just pointing out that Olga didn't
answer Alan's question. If I wasn't clear, I also thought I was
pointing out that the project team has always done the right thing
with respect to VSC.

Furthermore, I am saying that I think it is implicit in any of these
cases that replace "standard" utilities with ksh93 built-ins passing
the appropriate VSC tests is an assumed checklist item before putback
will be allowed (and, therefore, doesn't need to be explicitly stated
in the ARC case).

Alan,
In a later message, you asked: "And what about the POSIX conformance
testing?"

POSIX conformance is a subset of UNIX certification.  The UNIX
certification VSC sed tests are all that is needed for POSIX
certification as long as Oracle actually maintains the UNIX branding
that has been in place for more than 20 years.  Note, however, that
since Sun laid off the UNIX standards conformance group there has been
no formal statement from Sun or Oracle that there is any intent to
renew the brand as part of the next Solaris major or minor release.
(Patch releases of Solaris 10 are covered under the current branding
documents.)

Cheers,
Don

From ceri@submonkey.net Fri Mar 12 11:56:09 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CJu8hf004558
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 11:56:09 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2CJu7LV002700
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 12:56:08 -0700 (MST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600G1PQ1KNO00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 12:56:08 -0700 (MST)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ60074UQ1J5F60@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 12:56:07 -0700 (MST)
Received: from relay41i.sun.com ([192.5.209.70])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CJu7oO006288	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 19:56:07 +0000 (GMT)
Received: from mmp43es.mmp.us.syntegra.com ([160.41.221.12] [160.41.221.12])
 by relay41i.sun.com with ESMTP id BT-MMP-2188549 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 19:56:07 +0000 (Z)
Received: from relay42i.sun.com (relay42i.sun.com [192.5.209.72])
 by mmp43es.mmp.us.syntegra.com with ESMTP id BT-MMP-37331124 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 19:56:06 +0000 (Z)
Received: from scuttle.submonkey.net ([208.111.43.184] [208.111.43.184])
 by relay4i.sun.com with ESMTP id BT-MMP-53418178 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 19:56:06 +0000 (Z)
Received: from cpc1-cdif1-0-0-cust63.cdif.cable.ntl.com
 ([81.104.164.64] helo=shrike.submonkey.net)	by scuttle.submonkey.net with
 esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256)	(Exim 4.69)
	(envelope-from <ceri@submonkey.net>)	id 1NqAxn-0007UO-3O; Fri,
 12 Mar 2010 19:56:03 +0000
Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <ceri@submonkey.net>)	id 1NqAxk-000FUV-7l; Fri,
 12 Mar 2010 19:56:00 +0000
Date: Fri, 12 Mar 2010 19:56:00 +0000
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <65f8f3ad1003120646w744c579aybaefcdf31b400cf7@mail.gmail.com>
Sender: Ceri Davies <ceri@submonkey.net>
To: Mike Gerdts <mgerdts@gmail.com>
Cc: Shells discussion <shell-discuss@opensolaris.org>, PSARC-ext@sun.com,
        Christine Tran <christine.tran@gmail.com>
Message-id: <20100312195559.GA81327@submonkey.net>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary=IJpNTDwzlM2Ie8A6
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-PGP: finger ceri@FreeBSD.org
X-Antispam: No, score=-0.7/5.0, scanned in 0.176sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <65f8f3ad1003120646w744c579aybaefcdf31b400cf7@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Status: RO
Content-Length: 2958


--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 12, 2010 at 08:46:01AM -0600, Mike Gerdts wrote:
> 2010/3/12 ????? ???????????? <olga.kryzhanovska@gmail.com>:
> > This one, right?
> > ? ? ? -i[SUFFIX], --in-place[=3DSUFFIX]
> > ? ? ? ? ? ? ?edit files in place (makes backup if extension supplied)
> >
> > -i copies the content to a temporary backup file, truncates the
> > original (keeping permissions, ACL flags etc) and starts processing
> > from backup to original file, right?
>=20
> This algorithm can introduce race conditions which could result in
> security problems and in disk full conditions can result in a
> partially written file.  A better approach would be the equivalent of:
>=20
> 1. ln $file $file.$suffix
> 2. newfile=3D$(mktemp $(dirname $file)/$(basename $file).XXXXXX
> 3. chown $user:$group $newfile
> 4. chmod $perms $newfile ; # plus more magic to do extended attributes
> 5. sed $sedprog $file > $newfile
> 6. rename $newfile $file
>=20
> Important points of the above are:
>=20
> 1. Takes no space (aside from a directory entry), preserves permissions
> 2. Secure creation of a temporary file in the same directory as the
> file to ensure that rename(2) works.  If a symlink is involved, this
> should be done in the directory where the file really exists.
> 3 - 4. Sets the permissions properly.  Use the same code or algorithm
> that cp -p@ uses.
> 5. What sed normally does
> 6. An atomic operation, leaves $file.$suffix as the backup file.
>=20
> Any error in 1 - 5 should cause the initial file to be untouched
> (aside from maybe atime and nlink), allowing sed to return an error
> without data loss.

It doesn't really qualify as inplace though, does it?  Note also that -i
can optionally leave a backup behind if given a suffix which would
remove most concerns over trampling files.

Note that FreeBSD's sed supports -i (and -I) using an algorithm which
can potentially fail in the situations that you mention; the manpage
just calls it out with the following text:

   It is not recommended to give a zero-length extension when
   in-place editing files, as you risk corruption or partial content in
   situations where disk space is exhausted, etc.

Olga, as regards the follow-symlinks option, the difference it makes if
that in the following situation:

  /tmp/file -> /var/tmp/blah

inplace editing /tmp/file with --follow-symlinks would put the backup
file in /var/tmp rather than /tmp.

Ceri
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--IJpNTDwzlM2Ie8A6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iD8DBQFLmpxPocfcwTS3JF8RAm7fAJ0eviDY4mz+pQK8c8XBwsrjt//kEACgsZE8
XIu8wWLDU80uW3UlhMjtuPI=
=wZfM
-----END PGP SIGNATURE-----

--IJpNTDwzlM2Ie8A6--

From olga.kryzhanovska@gmail.com Fri Mar 12 12:49:18 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CKnI6m005873
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 12:49:18 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CKnHjh006662
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 12:49:18 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600B15SI54S00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 12:49:17 -0800 (PST)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6000UGSI3RK20@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 12:49:15 -0800 (PST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CKnFPW024597	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 20:49:15 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay13i.sun.com with ESMTP id BT-MMP-2239166 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 20:49:15 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-714964 for
 PSARC-ext@sun.com; Fri, 12 Mar 2010 20:49:14 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-8814000 for PSARC-ext@sun.com; Fri,
 12 Mar 2010 20:49:14 +0000 (Z)
Received: by mail-bw0-f222.google.com with SMTP id 22so1541222bwz.8 for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 12:49:13 -0800 (PST)
Received: by 10.204.130.72 with SMTP id r8mr2528505bks.25.1268426953676; Fri,
 12 Mar 2010 12:49:13 -0800 (PST)
Date: Fri, 12 Mar 2010 21:49:13 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net>
To: Shells discussion <shell-discuss@opensolaris.org>
Cc: PSARC-ext@sun.com
Message-id: <e21eff1d1003121249p2c5c0a54j80d3b5c257c46a4d@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type;
 bh=N8aT56F2naKyWc+oRQlDx7siJ6FjUnPiu6LI+2/YRok=;
 b=mPo8TafILavuUbriODTemMXhD1Bxs0XUaRGgraqLMXSDV1MrUXktdDVwkIhX91nauN
 8bcPA9S3G4z7EbNejwTWV4mc/VFSwa6bT5APuCYGr+JWKo4JtXBPWXuS0bSwZBIJfYRf
 hx4RIvqCAs+JYnmnFxdbW3L9DAtwE9+T1U0Lg=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 b=ZYWBoa0v/+wSe0tk1FwwmZbACCUZGic5WZZjM1JjVp2THCQaOLvnCeUoLOzzH14Sk/
 J/G+TY7Zt4RzpMoDIQy1ASGQA9CvWKPUX/odC0h4NtdnGeZHNt9mi6IUuRY6fDP1XCcg
 jZBYHAcQOiVGhNOv+YhUgOxzt8EnLTPOaeRfg=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.7/5.0, scanned in 0.097sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net>
Status: RO
Content-Length: 2139

Don, sorry for being ambiguous.
I tried to explain where this version of sed comes from, that ksh93 is
part of the same source repository and that sed passes the VSC test
suite.

Olga

On Fri, Mar 12, 2010 at 7:32 PM, Don Cragun <dcragun@sonic.net> wrote:
> On Mar 12, 2010, at 14:49:39 +0100, olga.kryzhanovska@gmail.com wrote:
>
>> AT&T AST sed from the ast-open package. It is a direct descendant of
>> the AT&T sed in UNIX. The same package contains ksh93, has the same
>> license (CPL 1.0) as ksh93 and passes VSC.
>
> While it is nice (and correct) to say that ksh93 passes the VSC tests
> for sh, that is not an indication that the sed functionality built
> into ksh93 will pass the VSC tests for sed.
>
> I assume that the Oracle sponsor you get for your putback for this case
> will verify that this version of sed passes the VSC tests before you
> putback.  I also assume that you (with help from David and Glenn) will
> fix any failures detected (either by changing the code or by getting
> approved TSDs from TOG for test suite failures) if sed does not pass
> the VSC sed tests.  This is what has been done with all of the other
> ksh93 project putbacks.
>
>  - Don
>
>>
>> Olga
>>
>> On Fri, Mar 12, 2010 at 2:27 PM, Alan Burlison <Alan.Burlison@sun.com> wrote:
>>> On 11/03/2010 00:28, Garrett D'Amore - sun microsystems wrote:
>>>
>>>> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>>>
>>> Can you provide some information on which opensource implementation you are
>>> intending to use?  Have you confirmed that it passes the VSC test suite?
>>>
>>> Thanks,
>>>
>>> --
>>> Alan Burlison
>>
>
> _______________________________________________
> shell-discuss mailing list
> shell-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/shell-discuss
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`

From gsf@research.att.com Fri Mar 12 12:52:23 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CKqNWR005913
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 12:52:23 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CKqLdK003166;
	Fri, 12 Mar 2010 12:52:21 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600M05SN9MU00@brm-avmta-1.central.sun.com>; Fri,
 12 Mar 2010 13:52:21 -0700 (MST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6007YLSN85480@brm-avmta-1.central.sun.com>; Fri,
 12 Mar 2010 13:52:20 -0700 (MST)
Received: from relay14i.sun.com
 (ip124.net129179-4.block1.us.syntegra.com [129.179.4.124])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CKj62K022939; Fri,
 12 Mar 2010 20:52:20 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay14i.sun.com with ESMTP id BT-MMP-2224955; Fri,
 12 Mar 2010 20:52:20 +0000 (Z)
Received: from relay15i.sun.com (relay15i.sun.com [129.179.4.125])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-721414; Fri,
 12 Mar 2010 20:52:20 +0000 (Z)
Received: from mail-yellow.research.att.com ([192.20.225.112] [192.20.225.112])
 by relay1i.sun.com with ESMTP id BT-MMP-29491116; Fri,
 12 Mar 2010 20:52:19 +0000 (Z)
Received: from penguin.research.att.com
 (penguin.research.att.com [135.207.176.48])	by mail-green.research.att.com
 (Postfix) with ESMTP id 5F7D283AD; Fri, 12 Mar 2010 15:22:37 -0500 (EST)
Received: (from gsf@localhost)	by penguin.research.att.com
 (8.13.8/8.12.10/Submit) id o2CKMa5k028110; Fri, 12 Mar 2010 15:22:36 -0500
Date: Fri, 12 Mar 2010 15:22:36 -0500
From: Glenn Fowler <gsf@research.att.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack  timeout
 03/17/2010]
To: Alan.Burlison@sun.com, gdamore@sun.com, shell-discuss@opensolaris.org
Cc: PSARC-ext@sun.com
Message-id: <201003122022.o2CKMa5k028110@penguin.research.att.com>
Organization: AT&T Research
MIME-version: 1.0
X-Mailer: mailx (AT&T/BSD) 9.9 2009-06-09
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.7/5.0, scanned in 0.195sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net> <4B9A8A76.9060604@sun.com>
 <63A183CF-A87F-4EA2-BCAA-82338E66B135@sonic.net>
Status: RO
Content-Length: 2260


here are some (possibly off-list) message subjects from late 2009

for -lcmd builtins

	VSC test results for { "comm", "join", "tail" }
	VSC test failures for "cmp" builtin
	VSC test suite failures when testing the "mkfifo" builtin

for ast standalone cmds

	VSC test results for AST { "egrep", "fgrep" and "grep" }
	VSC test suite failures when testing AST "sed" from ast-open.2009-10-21

I may have missed msgs with reports on other ast commands/builtins
or I may have only gotten msgs on VSC test failures

as far as I know the issues raised by the VSC test failures have been addressed,
except for my contention that one of the VSC tests is flawed

maybe Roland can collate all of the ast/ksh/builtins VSC tests that were done

--Glenn

On Fri, 12 Mar 2010 11:21:58 -0800 Don Cragun wrote:
> Garrett,
> Alan asked if this version of sed passed VSC sed tests.  Olga said
> ksh93 passed VSC sh tests.  I was just pointing out that Olga didn't
> answer Alan's question. If I wasn't clear, I also thought I was
> pointing out that the project team has always done the right thing
> with respect to VSC.

> Furthermore, I am saying that I think it is implicit in any of these
> cases that replace "standard" utilities with ksh93 built-ins passing
> the appropriate VSC tests is an assumed checklist item before putback
> will be allowed (and, therefore, doesn't need to be explicitly stated
> in the ARC case).

> Alan,
> In a later message, you asked: "And what about the POSIX conformance
> testing?"

> POSIX conformance is a subset of UNIX certification.  The UNIX
> certification VSC sed tests are all that is needed for POSIX
> certification as long as Oracle actually maintains the UNIX branding
> that has been in place for more than 20 years.  Note, however, that
> since Sun laid off the UNIX standards conformance group there has been
> no formal statement from Sun or Oracle that there is any intent to
> renew the brand as part of the next Solaris major or minor release.
> (Patch releases of Solaris 10 are covered under the current branding
> documents.)

> Cheers,
> Don
> _______________________________________________
> shell-discuss mailing list
> shell-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/shell-discuss


From olga.kryzhanovska@gmail.com Fri Mar 12 13:02:05 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CL24KV006656
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 13:02:05 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CL2255029854;
	Fri, 12 Mar 2010 15:02:03 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600B01T3EQS00@nwk-avmta-2.sfbay.sun.com>; Fri,
 12 Mar 2010 13:02:02 -0800 (PST)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6004G7T3DDL70@nwk-avmta-2.sfbay.sun.com>; Fri,
 12 Mar 2010 13:02:01 -0800 (PST)
Received: from relay11i.sun.com
 (ip121.net129179-4.block1.us.syntegra.com [129.179.4.121])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CKrs0i021689;
 Fri, 12 Mar 2010 21:02:00 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay11i.sun.com with ESMTP id BT-MMP-1338567; Fri,
 12 Mar 2010 21:02:00 +0000 (Z)
Received: from relay14i.sun.com (relay14i.sun.com [129.179.4.124])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-741010; Fri,
 12 Mar 2010 21:02:00 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-27754468; Fri,
 12 Mar 2010 21:02:00 +0000 (Z)
Received: by bwz22 with SMTP id 22so1551631bwz.8 for <multiple recipients>;
 Fri, 12 Mar 2010 13:01:51 -0800 (PST)
Received: by 10.204.140.67 with SMTP id h3mr3364169bku.137.1268427711037; Fri,
 12 Mar 2010 13:01:51 -0800 (PST)
Date: Fri, 12 Mar 2010 22:01:50 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <63A183CF-A87F-4EA2-BCAA-82338E66B135@sonic.net>
To: Shells discussion <shell-discuss@opensolaris.org>
Cc: "Garrett D'Amore" <gdamore@sun.com>, Alan Burlison <Alan.Burlison@sun.com>,
        PSARC-ext@sun.com
Message-id: <e21eff1d1003121301r32a6658jb93863ed4b3a62f6@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=D2Rw1xLALMGl3Kh1cx2eHSWOHjmHWuI/17LndXBRe2E=;
 b=kZ8bwvEXCoC5ZjbMU+0wiQ1cT0ZdtOdW35DqdRzPnrJav/y6z9JshknnzQFfsLe8CT
 +cV4dfTP5nhHOFGkc3UH7DyPHfOiG1nSO3YZmpNKFHiSv7P6FsG3GDetCPjeYd7KV8hZ
 YTVsJifa5wWYSr27vX1Fx9Id1RR8QOed4u6Gw=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=kM3JLqAmzGOw+kv3xbw7qSRHe+Ndzjn6v9NhrBWmBesioYsiRu8rkWg8CKM05GxIrT
 rFI1cuPQSVHn4gTel/p2McBj1L+KF7/rpCcNc4btH/VtcAIby8qdtk0uSJyEPB2j105/
 NGpgT3w7f6Wy4n8y5wKcK0s0RTrq18bzRk/Yo=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-1.1/5.0, scanned in 0.169sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net> <4B9A8A76.9060604@sun.com>
 <63A183CF-A87F-4EA2-BCAA-82338E66B135@sonic.net>
Status: RO
Content-Length: 3586

Don, we do not intend to make all closed utilities we replace builtins
in ksh93. Making AST sed a builtin was just an easy thing because the
code is well designed and easy to make re-entrant.

Olga

On Fri, Mar 12, 2010 at 8:21 PM, Don Cragun <dcragun@sonic.net> wrote:
>
> On Mar 12, 2010, at 10:39 AM, Garrett D'Amore wrote:
>
>> On 03/12/10 10:32 AM, Don Cragun wrote:
>>> On Mar 12, 2010, at 14:49:39 +0100, olga.kryzhanovska@gmail.com wrote:
>>>
>>>
>>>> AT&T AST sed from the ast-open package. It is a direct descendant of
>>>> the AT&T sed in UNIX. The same package contains ksh93, has the same
>>>> license (CPL 1.0) as ksh93 and passes VSC.
>>>>
>>> While it is nice (and correct) to say that ksh93 passes the VSC tests
>>> for sh, that is not an indication that the sed functionality built
>>> into ksh93 will pass the VSC tests for sed.
>>>
>>> I assume that the Oracle sponsor you get for your putback for this case
>>> will verify that this version of sed passes the VSC tests before you
>>> putback.  I also assume that you (with help from David and Glenn) will
>>> fix any failures detected (either by changing the code or by getting
>>> approved TSDs from TOG for test suite failures) if sed does not pass
>>> the VSC sed tests.  This is what has been done with all of the other
>>> ksh93 project putbacks.
>>>
>>
>> I don't think there was any indication anywhere that the bits would *not* pass POSIX conformance tests.  Obviously a change of this nature (specifically to /usr/xpg4/bin/sed) requires such conformance testing to be done.  Such testing, however, is not architectural in scope.  (Conversely, if the team were going to abandon POSIX conformance, then that would be architectural in scope.  But that is not what has been proposed.)
>>
>>    - Garrett
>
> Garrett,
> Alan asked if this version of sed passed VSC sed tests.  Olga said
> ksh93 passed VSC sh tests.  I was just pointing out that Olga didn't
> answer Alan's question. If I wasn't clear, I also thought I was
> pointing out that the project team has always done the right thing
> with respect to VSC.
>
> Furthermore, I am saying that I think it is implicit in any of these
> cases that replace "standard" utilities with ksh93 built-ins passing
> the appropriate VSC tests is an assumed checklist item before putback
> will be allowed (and, therefore, doesn't need to be explicitly stated
> in the ARC case).
>
> Alan,
> In a later message, you asked: "And what about the POSIX conformance
> testing?"
>
> POSIX conformance is a subset of UNIX certification.  The UNIX
> certification VSC sed tests are all that is needed for POSIX
> certification as long as Oracle actually maintains the UNIX branding
> that has been in place for more than 20 years.  Note, however, that
> since Sun laid off the UNIX standards conformance group there has been
> no formal statement from Sun or Oracle that there is any intent to
> renew the brand as part of the next Solaris major or minor release.
> (Patch releases of Solaris 10 are covered under the current branding
> documents.)
>
> Cheers,
> Don
> _______________________________________________
> shell-discuss mailing list
> shell-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/shell-discuss
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`

From olga.kryzhanovska@gmail.com Fri Mar 12 13:04:52 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CL4qwM006716
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 13:04:52 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CL4omc001669;
	Fri, 12 Mar 2010 15:04:50 -0600 (CST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600B01T82X900@nwk-avmta-2.sfbay.sun.com>; Fri,
 12 Mar 2010 13:04:50 -0800 (PST)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6004IVT81DGA0@nwk-avmta-2.sfbay.sun.com>; Fri,
 12 Mar 2010 13:04:50 -0800 (PST)
Received: from relay43i.sun.com ([192.5.209.74])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CKvFDT002060; Fri,
 12 Mar 2010 21:04:49 +0000 (GMT)
Received: from mmp43es.mmp.us.syntegra.com ([160.41.221.12] [160.41.221.12])
 by relay43i.sun.com with ESMTP id BT-MMP-591210; Fri,
 12 Mar 2010 21:04:49 +0000 (Z)
Received: from relay42i.sun.com (relay42i.sun.com [192.5.209.72])
 by mmp43es.mmp.us.syntegra.com with ESMTP id BT-MMP-37432390; Fri,
 12 Mar 2010 21:04:49 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay4i.sun.com with ESMTP id BT-MMP-53526038; Fri,
 12 Mar 2010 21:04:49 +0000 (Z)
Received: by bwz22 with SMTP id 22so1553349bwz.8 for <multiple recipients>;
 Fri, 12 Mar 2010 13:03:58 -0800 (PST)
Received: by 10.204.36.70 with SMTP id s6mr4340956bkd.22.1268427837680; Fri,
 12 Mar 2010 13:03:57 -0800 (PST)
Date: Fri, 12 Mar 2010 22:03:57 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <201003122022.o2CKMa5k028110@penguin.research.att.com>
To: shell-discuss@opensolaris.org, PSARC-ext@sun.com
Cc: Alan.Burlison@sun.com, gdamore@sun.com,
        Glenn Fowler <gsf@research.att.com>
Message-id: <e21eff1d1003121303qa8fb0f3yeeebe14723408e89@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type;
 bh=eqt8HTQROqV1yGDovK7sTaF+tck3j5ZA/A7CwsO2zpo=;
 b=F4/IkikobleiJbhlbVVfeLjx/GGh8GI9Hac7GUFjE5EaetWKq65nb6pkfazCnoBJfr
 9Sl/hoI3aHI+3fffl73TW4jiXBbDj+QQjdJwpusWuTrszJPw8Qne3x/BLLuUQ64iqhCx
 OOQQp5L6F4pzPDLjsTrj930LHcJB7bCzpn7aM=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 b=ZD7Qv7BElfU4HcgMM1EW0qSstMGhQR2v3lO75Bes9thG0Ej/XNaD+m1v+EI5q22MuB
 CD2urqSu6jEnuWVaBng8gOC26Nn2mnK1qPamr1K2648kDW0FzJiirQ3gVRabgrcWO3d7
 1Wc0DI/+4hbjvXnYzxk5j/5Jc7DRLasmP1QPA=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-2.6/5.0, scanned in 0.092sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net> <4B9A8A76.9060604@sun.com>
 <63A183CF-A87F-4EA2-BCAA-82338E66B135@sonic.net>
 <201003122022.o2CKMa5k028110@penguin.research.att.com>
Status: RO
Content-Length: 2916

To clarify Glenn's email:
All utilities have been tested with VSC and all issues found have been
addressed.
This includes AST sed.

Olga

On Fri, Mar 12, 2010 at 9:22 PM, Glenn Fowler <gsf@research.att.com> wrote:
>
> here are some (possibly off-list) message subjects from late 2009
>
> for -lcmd builtins
>
>        VSC test results for { "comm", "join", "tail" }
>        VSC test failures for "cmp" builtin
>        VSC test suite failures when testing the "mkfifo" builtin
>
> for ast standalone cmds
>
>        VSC test results for AST { "egrep", "fgrep" and "grep" }
>        VSC test suite failures when testing AST "sed" from ast-open.2009-10-21
>
> I may have missed msgs with reports on other ast commands/builtins
> or I may have only gotten msgs on VSC test failures
>
> as far as I know the issues raised by the VSC test failures have been addressed,
> except for my contention that one of the VSC tests is flawed
>
> maybe Roland can collate all of the ast/ksh/builtins VSC tests that were done
>
> --Glenn
>
> On Fri, 12 Mar 2010 11:21:58 -0800 Don Cragun wrote:
>> Garrett,
>> Alan asked if this version of sed passed VSC sed tests.  Olga said
>> ksh93 passed VSC sh tests.  I was just pointing out that Olga didn't
>> answer Alan's question. If I wasn't clear, I also thought I was
>> pointing out that the project team has always done the right thing
>> with respect to VSC.
>
>> Furthermore, I am saying that I think it is implicit in any of these
>> cases that replace "standard" utilities with ksh93 built-ins passing
>> the appropriate VSC tests is an assumed checklist item before putback
>> will be allowed (and, therefore, doesn't need to be explicitly stated
>> in the ARC case).
>
>> Alan,
>> In a later message, you asked: "And what about the POSIX conformance
>> testing?"
>
>> POSIX conformance is a subset of UNIX certification.  The UNIX
>> certification VSC sed tests are all that is needed for POSIX
>> certification as long as Oracle actually maintains the UNIX branding
>> that has been in place for more than 20 years.  Note, however, that
>> since Sun laid off the UNIX standards conformance group there has been
>> no formal statement from Sun or Oracle that there is any intent to
>> renew the brand as part of the next Solaris major or minor release.
>> (Patch releases of Solaris 10 are covered under the current branding
>> documents.)
>
>> Cheers,
>> Don
>> _______________________________________________
>> shell-discuss mailing list
>> shell-discuss@opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/shell-discuss
>
>
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`

From olga.kryzhanovska@gmail.com Fri Mar 12 13:05:18 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CL5IvV006733
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 13:05:18 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2CL5ECl050355;
	Fri, 12 Mar 2010 14:05:16 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600F1FT8SI300@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 12 Mar 2010 13:05:16 -0800 (PST)
Received: from sca-ea-mail-1.sun.com ([192.18.43.24])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ60006BT8QRW30@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 12 Mar 2010 13:05:15 -0800 (PST)
Received: from relay15i.sun.com
 (ip125.net129179-4.block1.us.syntegra.com [129.179.4.125])
	by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CL5Esv002883;
 Fri, 12 Mar 2010 21:05:14 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay15i.sun.com with ESMTP id BT-MMP-2218949; Fri,
 12 Mar 2010 21:05:14 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-747398; Fri,
 12 Mar 2010 21:05:13 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-28459014; Fri,
 12 Mar 2010 21:05:13 +0000 (Z)
Received: by mail-bw0-f222.google.com with SMTP id 22so1553970bwz.8 for
 <multiple recipients>; Fri, 12 Mar 2010 13:05:05 -0800 (PST)
Received: by 10.204.130.72 with SMTP id r8mr2548613bks.25.1268427905421; Fri,
 12 Mar 2010 13:05:05 -0800 (PST)
Date: Fri, 12 Mar 2010 22:05:05 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4B9A8286.1060706@sun.com>
To: Alan Burlison <Alan.Burlison@sun.com>
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <e21eff1d1003121305s1e50b86arab278ade8bed8491@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=JWgs5s9q6ZQXtLGqJfi9lcfUFkv7b+gW/Zl1h8UJQ64=;
 b=lkVDoMQif5F0HjmGeWWM3l64Nxm+f7OT9K8QTtHWqD/5YdGbytJ1G2VFGy26IEzvOU
 m+NnMosttpEW14GMH/M0lEknCinHRSxDqmglfzvAvCWNRzntoiYBI2k6ceMEw/HHqxPS
 Pjze1jWk13siEkb1CdcB3NItgRkuXDwu5d6So=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=FJeLYQZTVHCBs7m8eyjeI58ll3k8ABKfXbr3Ap5v0xFRfSVkzEsqGRlbM/1K1sNyjp
 jsMuh+5y2LtcPS3gK3rS2fX3Z2UofUtlwcHchOAoSTJZe5ss0d80Vko5PvnlUF0xGYcF
 jHV7zBTkmPpN7+QET6J/6rixHjL7wWu+B3E00=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.058sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B9A413F.3050402@sun.com>
 <e21eff1d1003120549r7490263esdc538fc58f2b7a07@mail.gmail.com>
 <4B9A8286.1060706@sun.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2CL5IvV006733
Status: RO
Content-Length: 1217

VSC testing covers POSIX.

Olga

2010/3/12 Alan Burlison <Alan.Burlison@sun.com>:
> On 12/03/2010 13:49,   wrote:
>
>> AT&T AST sed from the ast-open package. It is a direct descendant of
>> the AT&T sed in UNIX. The same package contains ksh93, has the same
>> license (CPL 1.0) as ksh93 and passes VSC.
>
> And what about the POSIX conformance testing?
>
>>
>> Olga
>>
>> On Fri, Mar 12, 2010 at 2:27 PM, Alan Burlison<Alan.Burlison@sun.com>
>>  wrote:
>>>
>>> On 11/03/2010 00:28, Garrett D'Amore - sun microsystems wrote:
>>>
>>>> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>>>
>>> Can you provide some information on which opensource implementation you
>>> are
>>> intending to use?  Have you confirmed that it passes the VSC test suite?
>>>
>>> Thanks,
>>>
>>> --
>>> Alan Burlison
>>> --
>>>
>>
>>
>>
>
>
> --
> Alan Burlison
> --
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`


From Nicolas.Williams@sun.com Fri Mar 12 13:40:22 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CLeMkQ007064
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 13:40:22 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CLeMtg025926
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 13:40:22 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600171UVACY00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 13:40:22 -0800 (PST)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6000U5UV5RQ60@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 13:40:18 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2CLeHOi019495	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 21:40:17 +0000 (GMT)
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154])
	by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1)
 with ESMTP id o2CL0fce020546; Fri, 12 Mar 2010 21:40:13 +0000 (GMT)
Received: from abhmt008.oracle.com by acsmt353.oracle.com	with ESMTP id
 77375391268429962; Fri, 12 Mar 2010 13:39:22 -0800
Received: from Sun.COM (/129.153.128.104)
	by default (Oracle Beehive Gateway v4.0)	with ESMTP ; Fri,
 12 Mar 2010 13:39:22 -0800
Date: Fri, 12 Mar 2010 15:39:13 -0600
From: Nicolas Williams <Nicolas.Williams@sun.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <20100312195559.GA81327@submonkey.net>
To: Ceri Davies <ceri@submonkey.net>
Cc: Mike Gerdts <mgerdts@gmail.com>,
        Shells discussion <shell-discuss@opensolaris.org>, PSARC-ext@sun.com,
        Christine Tran <christine.tran@gmail.com>
Message-id: <20100312213913.GJ14993@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090209.4B9AB4BE.0141,ss=1,fgs=0
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <65f8f3ad1003120646w744c579aybaefcdf31b400cf7@mail.gmail.com>
 <20100312195559.GA81327@submonkey.net>
User-Agent: Mutt/1.5.20 (2010-03-02)
Status: RO
Content-Length: 2396

On Fri, Mar 12, 2010 at 07:56:00PM +0000, Ceri Davies wrote:
> On Fri, Mar 12, 2010 at 08:46:01AM -0600, Mike Gerdts wrote:
> >                   [...]  A better approach would be the equivalent of:
> > 
> > 1. ln $file $file.$suffix
> > 2. newfile=$(mktemp $(dirname $file)/$(basename $file).XXXXXX
> > 3. chown $user:$group $newfile
> > 4. chmod $perms $newfile ; # plus more magic to do extended attributes
> > 5. sed $sedprog $file > $newfile
> > 6. rename $newfile $file
> 
> It doesn't really qualify as inplace though, does it?  Note also that -i
> can optionally leave a backup behind if given a suffix which would
> remove most concerns over trampling files.

If "truly in-place" is not safe, then I don't think we should not have
"truly in-place".  Now, is the GNU sed's -i described as "truly
in-place" or is its description able to cover Mike's algorithm?  Here's
what the GNU sed manpage says:

     --follow-symlinks
          follow symlinks when processing in place
     -i[SUFFIX], --in-place[=SUFFIX]
          edit files in place (makes  backup  if  extension  sup-
	  plied)

Nothing else is said as to what editing a file "in place" means.  I
think that leaves room for an implementor to take Mike's position.

> Note that FreeBSD's sed supports -i (and -I) using an algorithm which
> can potentially fail in the situations that you mention; the manpage
> just calls it out with the following text:
> 
>    It is not recommended to give a zero-length extension when
>    in-place editing files, as you risk corruption or partial content in
>    situations where disk space is exhausted, etc.

That is indicative of "truly in-place" editing, but note that the
cautionary note applies to _any_ kind of in-place edit if the filesystem
is COW-based (like ZFS).  Some non-extending edits might not complete if
you run out of space and the filesystem is a ZFS dataset, thus leaving
you with corrupted file data.

In other words, I don't think there's any kind of stream edit for which
"in-place" can be safe (see below).  I favor Mike's algorithm.

Perhaps we could have a "file contents replace" operation, like
rename(2) but which changes the contents observed through open file
descriptors (and mmap()s) referring to the original...  Then you could
get something like in-place edits with safety, plus atomicity as a
bonus.  But that'd be a whole 'nother case/project.

Nico
-- 

From gdamore@sun.com Fri Mar 12 14:33:58 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CMXv4p007822
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 14:33:58 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2CMXusa047121
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 15:33:57 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600F03XCLTQ00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 14:33:57 -0800 (PST)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ6000SPXCJRQA0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 14:33:55 -0800 (PST)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2CMXtHS020553	for
 <PSARC-ext@sun.com>; Fri, 12 Mar 2010 14:33:55 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZ600G00X4YJ300@fe-sfbay-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 14:33:55 -0800 (PST)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KZ600KERXCI1B60@fe-sfbay-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 14:33:55 -0800 (PST)
Date: Fri, 12 Mar 2010 14:33:53 -0800
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <20100312213913.GJ14993@Sun.COM>
Sender: Garrett.Damore@sun.com
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: Ceri Davies <ceri@submonkey.net>, Mike Gerdts <mgerdts@gmail.com>,
        Shells discussion <shell-discuss@opensolaris.org>, PSARC-ext@sun.com,
        Christine Tran <christine.tran@gmail.com>
Message-id: <4B9AC151.2080709@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <836212a71003111156w554edb0dweaf32c712dfee466@mail.gmail.com>
 <e21eff1d1003120413t7594f19eh4af94f03035af9b7@mail.gmail.com>
 <836212a71003120619v3f85a980jc27a7c270b3234d@mail.gmail.com>
 <e21eff1d1003120626l62dcb299vc602067e0d8f4fd@mail.gmail.com>
 <65f8f3ad1003120646w744c579aybaefcdf31b400cf7@mail.gmail.com>
 <20100312195559.GA81327@submonkey.net> <20100312213913.GJ14993@Sun.COM>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Lightning/1.0b1 Thunderbird/3.0.1
Status: RO
Content-Length: 2983

Can I suggest, that while this topic is interesting, and should be 
pursued, the question of how to implement in-place editing is not 
relevant to *this* case, since it doesn't propose to offer it at this 
time.  Note that this case does not replace /usr/gnu/bin/sed.

(The idea to do so at a future time, in a future case, is probably still 
a good one.  But needn't be done thought about right now.)

     - Garrett

On 03/12/10 01:39 PM, Nicolas Williams wrote:
> On Fri, Mar 12, 2010 at 07:56:00PM +0000, Ceri Davies wrote:
>    
>> On Fri, Mar 12, 2010 at 08:46:01AM -0600, Mike Gerdts wrote:
>>      
>>>                    [...]  A better approach would be the equivalent of:
>>>
>>> 1. ln $file $file.$suffix
>>> 2. newfile=$(mktemp $(dirname $file)/$(basename $file).XXXXXX
>>> 3. chown $user:$group $newfile
>>> 4. chmod $perms $newfile ; # plus more magic to do extended attributes
>>> 5. sed $sedprog $file>  $newfile
>>> 6. rename $newfile $file
>>>        
>> It doesn't really qualify as inplace though, does it?  Note also that -i
>> can optionally leave a backup behind if given a suffix which would
>> remove most concerns over trampling files.
>>      
> If "truly in-place" is not safe, then I don't think we should not have
> "truly in-place".  Now, is the GNU sed's -i described as "truly
> in-place" or is its description able to cover Mike's algorithm?  Here's
> what the GNU sed manpage says:
>
>       --follow-symlinks
>            follow symlinks when processing in place
>       -i[SUFFIX], --in-place[=SUFFIX]
>            edit files in place (makes  backup  if  extension  sup-
> 	  plied)
>
> Nothing else is said as to what editing a file "in place" means.  I
> think that leaves room for an implementor to take Mike's position.
>
>    
>> Note that FreeBSD's sed supports -i (and -I) using an algorithm which
>> can potentially fail in the situations that you mention; the manpage
>> just calls it out with the following text:
>>
>>     It is not recommended to give a zero-length extension when
>>     in-place editing files, as you risk corruption or partial content in
>>     situations where disk space is exhausted, etc.
>>      
> That is indicative of "truly in-place" editing, but note that the
> cautionary note applies to _any_ kind of in-place edit if the filesystem
> is COW-based (like ZFS).  Some non-extending edits might not complete if
> you run out of space and the filesystem is a ZFS dataset, thus leaving
> you with corrupted file data.
>
> In other words, I don't think there's any kind of stream edit for which
> "in-place" can be safe (see below).  I favor Mike's algorithm.
>
> Perhaps we could have a "file contents replace" operation, like
> rename(2) but which changes the contents observed through open file
> descriptors (and mmap()s) referring to the original...  Then you could
> get something like in-place edits with safety, plus atomicity as a
> bonus.  But that'd be a whole 'nother case/project.
>
> Nico
>    


From Alan.Burlison@sun.com Fri Mar 12 15:18:27 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CNIRCW008738
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 15:18:27 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CNIRii020278
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 17:18:27 -0600 (CST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600F01ZERDX00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 16:18:27 -0700 (MST)
Received: from dm-uk-01.uk.sun.com ([129.156.101.115])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ600AALZEPMX30@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 16:18:26 -0700 (MST)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-01.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2CNIO53028787; Fri, 12 Mar 2010 23:18:24 +0000 (GMT)
Received: from vpn-129-150-121-142.uk.sun.com ([129.150.121.142])
	by barman.uk.sun.com with esmtp (Exim 4.42)	id 1NqE7c-0002MJ-2g; Fri,
 12 Mar 2010 23:18:24 +0000
Date: Fri, 12 Mar 2010 23:18:23 +0000
From: Alan Burlison <Alan.Burlison@sun.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack  timeout
 03/17/2010]
In-reply-to: <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net>
To: Don Cragun <dcragun@sonic.net>
Cc: PSARC-ext@sun.com, Shells discussion <shell-discuss@opensolaris.org>
Message-id: <4B9ACBBF.5030307@sun.com>
Organization: Oracle
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Thunderbird/3.0.1
Status: RO
Content-Length: 313

On 12/03/2010 18:32, Don Cragun wrote:

> While it is nice (and correct) to say that ksh93 passes the VSC tests
> for sh, that is not an indication that the sed functionality built
> into ksh93 will pass the VSC tests for sed.

I am led to believe that VSC doesn't run *at all* under ksh93.

-- 
Alan Burlison
--

From Alan.Burlison@sun.com Fri Mar 12 15:26:59 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CNQxad008945
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 15:26:59 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CNQxIJ024465;
	Fri, 12 Mar 2010 15:26:59 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600G05ZSZE500@brm-avmta-1.central.sun.com>; Fri,
 12 Mar 2010 16:26:59 -0700 (MST)
Received: from dm-uk-02.uk.sun.com ([129.156.101.196])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ600AKMZSYMU20@brm-avmta-1.central.sun.com>; Fri,
 12 Mar 2010 16:26:59 -0700 (MST)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-02.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2CNQvWA011966; Fri, 12 Mar 2010 23:26:57 +0000 (GMT)
Received: from vpn-129-150-121-142.uk.sun.com ([129.150.121.142])
	by barman.uk.sun.com with esmtp (Exim 4.42)	id 1NqEFs-0002Pn-Fv; Fri,
 12 Mar 2010 23:26:56 +0000
Date: Fri, 12 Mar 2010 23:26:56 +0000
From: Alan Burlison <Alan.Burlison@sun.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack  timeout
 03/17/2010]
In-reply-to: <4B9A8A76.9060604@sun.com>
To: "Garrett D'Amore" <gdamore@sun.com>
Cc: Don Cragun <dcragun@sonic.net>, PSARC-ext@sun.com,
        Shells discussion <shell-discuss@opensolaris.org>
Message-id: <4B9ACDC0.1020707@sun.com>
Organization: Oracle
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net> <4B9A8A76.9060604@sun.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Thunderbird/3.0.1
Status: RO
Content-Length: 587

On 12/03/2010 18:39, Garrett D'Amore wrote:

> I don't think there was any indication anywhere that the bits would
> *not* pass POSIX conformance tests. Obviously a change of this nature
> (specifically to /usr/xpg4/bin/sed) requires such conformance testing to
> be done. Such testing, however, is not architectural in scope.
> (Conversely, if the team were going to abandon POSIX conformance, then
> that would be architectural in scope. But that is not what has been
> proposed.)

I merely asked if the testing had been done, and I still don't know the 
answer.

-- 
Alan Burlison
--

From Alan.Burlison@sun.com Fri Mar 12 15:28:56 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2CNSuPp008977
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 15:28:56 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2CNSt4n015595
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 15:28:55 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ600G01ZW7LE00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 16:28:55 -0700 (MST)
Received: from dm-uk-02.uk.sun.com ([129.156.101.196])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ600A2IZW6MX40@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 16:28:55 -0700 (MST)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-02.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2CNSqpd012588; Fri, 12 Mar 2010 23:28:52 +0000 (GMT)
Received: from vpn-129-150-121-142.uk.sun.com ([129.150.121.142])
	by barman.uk.sun.com with esmtp (Exim 4.42)	id 1NqEHj-0002QZ-Eb; Fri,
 12 Mar 2010 23:28:51 +0000
Date: Fri, 12 Mar 2010 23:28:51 +0000
From: Alan Burlison <Alan.Burlison@sun.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <e21eff1d1003121305s1e50b86arab278ade8bed8491@mail.gmail.com>
To: =?KOI8-R?Q?=CF=CC=D8=C7=C1_=CB=D2=D9=D6=C1=CE=CF=D7=D3=CB=C1=D1?=
 <olga.kryzhanovska@gmail.com>
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <4B9ACE33.9080502@sun.com>
Organization: Oracle
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R; format=flowed
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B9A413F.3050402@sun.com>
 <e21eff1d1003120549r7490263esdc538fc58f2b7a07@mail.gmail.com>
 <4B9A8286.1060706@sun.com>
 <e21eff1d1003121305s1e50b86arab278ade8bed8491@mail.gmail.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Thunderbird/3.0.1
Status: RO
Content-Length: 174

On 12/03/2010 21:05,   wrote:

> VSC testing covers POSIX.

Yes, I know that, I'm asking if it has been done, and what the result was.

-- 
Alan Burlison
--

From olga.kryzhanovska@gmail.com Fri Mar 12 16:15:07 2010
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2D0F79a009884
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 16:15:07 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2D0F5in005588;
	Fri, 12 Mar 2010 16:15:05 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ700K1N2157T00@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 12 Mar 2010 16:15:05 -0800 (PST)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ7000F6213RLF0@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 12 Mar 2010 16:15:03 -0800 (PST)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2D09KTQ006884; Sat,
 13 Mar 2010 00:15:03 +0000 (GMT)
Received: from mmp12es.mmp.us.syntegra.com ([160.41.208.12] [160.41.208.12])
 by relay13i.sun.com with ESMTP id BT-MMP-2248994; Sat,
 13 Mar 2010 00:15:03 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp12es.mmp.us.syntegra.com with ESMTP id BT-MMP-58869232; Sat,
 13 Mar 2010 00:15:02 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-9140715; Sat,
 13 Mar 2010 00:15:02 +0000 (Z)
Received: by bwz22 with SMTP id 22so1672659bwz.8 for <multiple recipients>;
 Fri, 12 Mar 2010 16:15:01 -0800 (PST)
Received: by 10.204.156.199 with SMTP id y7mr2240891bkw.108.1268439300988; Fri,
 12 Mar 2010 16:15:00 -0800 (PST)
Date: Sat, 13 Mar 2010 01:15:00 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4B9ACE33.9080502@sun.com>
To: Alan Burlison <Alan.Burlison@sun.com>
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <e21eff1d1003121615i50ff0abbm35a34a1606496c10@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=PIiXRKncWY9PGunO+vabjkEJUlVSGpsMH6Ifke7WBwE=;
 b=K+eB3EDHIRWTY0udnvkAhzVMUOtximCThnsCoxnbhpY6IgS5K17ju7eyHejtNWa9ii
 fhQz5tRZYPd/D+uWTHoavJbFWNpUEBgx0sny59hhgJmc2uuLtlg7lFQ/UUFWUogBhOxB
 1up3pHeNxDd1oxrpT0Rl5UGpwW0AiR7DKdxBU=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=Urq5DBFOvA07eh1NzF91tqOI6McMh+SP39t0gu+DykTbxB0GhEbG4n7hjc1nHBAaSk
 HNN6SbznV9IZ/pogSS1LwjBGDvrm2X+HHV3jB3GY4FAAEUSmc17go1a56VhwBN5TV2S5
 Hayh5dOV3FsTVlVqoPp3UBMfkrBLO4PC90qgs=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.055sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B9A413F.3050402@sun.com>
 <e21eff1d1003120549r7490263esdc538fc58f2b7a07@mail.gmail.com>
 <4B9A8286.1060706@sun.com>
 <e21eff1d1003121305s1e50b86arab278ade8bed8491@mail.gmail.com>
 <4B9ACE33.9080502@sun.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id o2D0F79a009884
Status: RO
Content-Length: 1012

Yes, it has been tested two times in 2009.
First time resulted in numerous failures which have been fixed as Glenn said.
The 2nd run was clean except one failure which is considered a bug in
the VSC test suite.

I am not sure whether I can post the VSC log here since it was passed
as private mail and the VSC test suite licensing terms are unknown to
me. But I can provide statically linked debug binaries for testing if
you wish.

Olga

2010/3/13 Alan Burlison <Alan.Burlison@sun.com>:
> On 12/03/2010 21:05,   wrote:
>
>> VSC testing covers POSIX.
>
> Yes, I know that, I'm asking if it has been done, and what the result was.
>
> --
> Alan Burlison
> --
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`


From olga.kryzhanovska@gmail.com Fri Mar 12 16:22:23 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2D0MNHm009990
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 16:22:23 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2D0MLxD050664;
	Fri, 12 Mar 2010 17:22:21 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ7002032D9C700@nwk-avmta-2.sfbay.sun.com>; Fri,
 12 Mar 2010 16:22:21 -0800 (PST)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ7002212D93A10@nwk-avmta-2.sfbay.sun.com>; Fri,
 12 Mar 2010 16:22:21 -0800 (PST)
Received: from relay14i.sun.com
 (ip124.net129179-4.block1.us.syntegra.com [129.179.4.124])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2D0MKbc006132;
 Sat, 13 Mar 2010 00:22:20 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay14i.sun.com with ESMTP id BT-MMP-2234830; Sat,
 13 Mar 2010 00:22:20 +0000 (Z)
Received: from relay13i.sun.com (relay13i.sun.com [129.179.4.123])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-276078; Sat,
 13 Mar 2010 00:22:19 +0000 (Z)
Received: from mail-bw0-f222.google.com ([209.85.218.222] [209.85.218.222])
 by relay1i.sun.com with ESMTP id BT-MMP-28758060; Sat,
 13 Mar 2010 00:22:19 +0000 (Z)
Received: by bwz22 with SMTP id 22so1675403bwz.8 for <multiple recipients>;
 Fri, 12 Mar 2010 16:22:18 -0800 (PST)
Received: by 10.204.14.84 with SMTP id f20mr914516bka.209.1268439738137; Fri,
 12 Mar 2010 16:22:18 -0800 (PST)
Date: Sat, 13 Mar 2010 01:22:18 +0100
From: =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= <olga.kryzhanovska@gmail.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
	03/17/2010]
In-reply-to: <4B9ACBBF.5030307@sun.com>
To: Alan Burlison <Alan.Burlison@sun.com>
Cc: Don Cragun <dcragun@sonic.net>, PSARC-ext@sun.com,
        Shells discussion <shell-discuss@opensolaris.org>
Message-id: <e21eff1d1003121622t76653a85h3ec2600615b464be@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type;
 bh=HfRS10RLtKY9/fbluBCJiPPU87yntPqG7ce034dN+yg=;
 b=RF31VBiciQS2b24/ixsSc9eNVz0jJOfWMep01arxg5wHukh9uICO8JJCq82bG7RCNn
 nKjGv8RlKK00JjBDEfqfWtliN8v9rKbnsBRw2+r4pvuWXLHnU7MgTeuPdHHb4PYAw3wH
 FSq32z6OZZHE1ygkGl2UKWDbRt5T19Aycd0A0=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 b=q1Y2As5iZPzWUht7aDCmDfzpRBne9dmIVgelUK7O0uEnXjUHN1wuy+ias/fbY54gJl
 7jpsl11mp2RFdrmZU6V2pknKZeyx72+eguztZ6l5lE0Q/jzq2yJsJEsHh0mrqNocf87a
 rMGShAq4rIYAaXq8xLIqdToDFBBZdU+RKaaUY=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.2/5.0, scanned in 0.273sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net> <4B9ACBBF.5030307@sun.com>
Status: RO
Content-Length: 1198

ksh93 (the shell) passes the majority of the VSC sh tests.
The only VSC failures are described in
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6901715 and
happen in vi mode. I like to fix them but without test cases it is
near impossible to figure out what fails and how the expected correct
result looks like.
Either someone from Sun helps me with test cases or we have to wait
for Roland to return from hospital and deal with it.

Olga

On Sat, Mar 13, 2010 at 12:18 AM, Alan Burlison <Alan.Burlison@sun.com> wrote:
> On 12/03/2010 18:32, Don Cragun wrote:
>
>> While it is nice (and correct) to say that ksh93 passes the VSC tests
>> for sh, that is not an indication that the sed functionality built
>> into ksh93 will pass the VSC tests for sed.
>
> I am led to believe that VSC doesn't run *at all* under ksh93.
>
> --
> Alan Burlison
> --
>
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanovska@gmail.com   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`

From Alan.Burlison@sun.com Fri Mar 12 16:38:49 2010
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2D0cmkV010325
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 16:38:48 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2D0cmj5025037
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 16:38:48 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ70030534OHT00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 16:38:48 -0800 (PST)
Received: from dm-uk-02.uk.sun.com ([129.156.101.196])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ70028C34N3A60@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 16:38:47 -0800 (PST)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-02.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2D0chOI002309; Sat, 13 Mar 2010 00:38:43 +0000 (GMT)
Received: from vpn-129-150-121-142.uk.sun.com ([129.150.121.142])
	by barman.uk.sun.com with esmtp (Exim 4.42)	id 1NqFNL-0002nS-2o; Sat,
 13 Mar 2010 00:38:43 +0000
Date: Sat, 13 Mar 2010 00:38:42 +0000
From: Alan Burlison <Alan.Burlison@sun.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <e21eff1d1003121615i50ff0abbm35a34a1606496c10@mail.gmail.com>
To: =?KOI8-R?Q?=CF=CC=D8=C7=C1_=CB=D2=D9=D6=C1=CE=CF=D7=D3=CB=C1=D1?=
 <olga.kryzhanovska@gmail.com>
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <4B9ADE92.6060001@sun.com>
Organization: Oracle
MIME-version: 1.0
Content-type: text/plain; charset=KOI8-R; format=flowed
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4B9A413F.3050402@sun.com>
 <e21eff1d1003120549r7490263esdc538fc58f2b7a07@mail.gmail.com>
 <4B9A8286.1060706@sun.com>
 <e21eff1d1003121305s1e50b86arab278ade8bed8491@mail.gmail.com>
 <4B9ACE33.9080502@sun.com>
 <e21eff1d1003121615i50ff0abbm35a34a1606496c10@mail.gmail.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Thunderbird/3.0.1
Status: RO
Content-Length: 597

On 13/03/2010 00:15,   wrote:

> Yes, it has been tested two times in 2009.
> First time resulted in numerous failures which have been fixed as Glenn said.
> The 2nd run was clean except one failure which is considered a bug in
> the VSC test suite.

OK, thanks for the info.

> I am not sure whether I can post the VSC log here since it was passed
> as private mail and the VSC test suite licensing terms are unknown to
> me. But I can provide statically linked debug binaries for testing if
> you wish.

No that's fine thanks, that's the info I was after.

-- 
Alan Burlison
--

From Alan.Burlison@sun.com Fri Mar 12 16:40:53 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2D0eqM5010342
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 12 Mar 2010 16:40:52 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2D0eqFq060627
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 12 Mar 2010 17:40:52 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZ700303384NP00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 12 Mar 2010 16:40:52 -0800 (PST)
Received: from dm-uk-01.uk.sun.com ([129.156.101.115])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZ7002YR3833A60@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 12 Mar 2010 16:40:52 -0800 (PST)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-01.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id o2D0eoHv022981; Sat, 13 Mar 2010 00:40:50 +0000 (GMT)
Received: from vpn-129-150-121-142.uk.sun.com ([129.150.121.142])
	by barman.uk.sun.com with esmtp (Exim 4.42)	id 1NqFPN-0002oA-G5; Sat,
 13 Mar 2010 00:40:49 +0000
Date: Sat, 13 Mar 2010 00:40:49 +0000
From: Alan Burlison <Alan.Burlison@sun.com>
Subject: Re: [shell-discuss] open source sed [PSARC/2010/086 FastTrack timeout
 03/17/2010]
In-reply-to: <e21eff1d1003121622t76653a85h3ec2600615b464be@mail.gmail.com>
To: =?UTF-8?B?0L7Qu9GM0LPQsCDQutGA0YvQttCw0L3QvtCy0YHQutCw0Y8=?=
 <olga.kryzhanovska@gmail.com>
Cc: Don Cragun <dcragun@sonic.net>, PSARC-ext@sun.com,
        Shells discussion <shell-discuss@opensolaris.org>
Message-id: <4B9ADF11.3000909@sun.com>
Organization: Oracle
MIME-version: 1.0
Content-type: text/plain; charset=UTF-8; format=flowed
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
References: <mailman.1448.1268404488.1198.shell-discuss@opensolaris.org>
 <DA48D17F-E466-41DA-86D7-ABACA0A84933@sonic.net> <4B9ACBBF.5030307@sun.com>
 <e21eff1d1003121622t76653a85h3ec2600615b464be@mail.gmail.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Thunderbird/3.0.1
Status: RO
Content-Length: 584

On 13/03/2010 00:22, ольга крыжановская wrote:

> ksh93 (the shell) passes the majority of the VSC sh tests.
> The only VSC failures are described in
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6901715 and
> happen in vi mode. I like to fix them but without test cases it is
> near impossible to figure out what fails and how the expected correct
> result looks like.
> Either someone from Sun helps me with test cases or we have to wait
> for Roland to return from hospital and deal with it.

Thanks for the info and the link.

-- 
Alan Burlison
--

From sebastien.roy@oracle.com Wed Mar 24 06:30:47 2010
Received: from sunmail6brm.central.sun.com (sunmail6brm.Central.Sun.COM [129.147.4.169])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2ODUlka023834
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 24 Mar 2010 06:30:47 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail6brm.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o2ODUiB2026725
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 24 Mar 2010 08:30:47 -0500 (CDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZS00M09G7AYB00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 24 Mar 2010 06:30:46 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZS00IEVG74HO40@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 24 Mar 2010 06:30:41 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o2ODUdsI024975; Wed,
 24 Mar 2010 13:30:39 +0000 (GMT)
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154])
	by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1)
 with ESMTP id o2ODUYwR015093; Wed, 24 Mar 2010 13:30:34 +0000 (GMT)
Received: from abhmt002.oracle.com by acsmt353.oracle.com	with ESMTP id
 106855581269437351; Wed, 24 Mar 2010 06:29:11 -0700
Received: from [129.148.174.103] (/129.148.174.103)
	by default (Oracle Beehive Gateway v4.0)	with ESMTP ; Wed,
 24 Mar 2010 06:29:11 -0700
Date: Wed, 24 Mar 2010 09:26:20 -0400
From: Sebastien Roy <sebastien.roy@oracle.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
To: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>
Cc: PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <4BAA12FC.2080306@oracle.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090205.4BAA13FC.015B:SCFMA4539814,ss=1,fgs=0
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.8) Gecko/20100302
 Lightning/1.0b1 Thunderbird/3.0.2
Status: RO
Content-Length: 146

On 03/10/10 07:28 PM, Garrett D'Amore - sun microsystems wrote:
> Provide an opensource version of /usr/bin/sed and /usr/xpg4/bin/sed
>

+1

-Seb

From gdamore@sun.com Wed Mar 24 10:31:16 2010
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o2OHVGRr001572
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 24 Mar 2010 10:31:16 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id o2OHUwGx057172
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 24 Mar 2010 11:31:16 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KZS0083MRBVDB00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 24 Mar 2010 10:31:07 -0700 (PDT)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KZS000P3RBUBRA0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 24 Mar 2010 10:31:06 -0700 (PDT)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o2OHV6vv026831	for
 <PSARC-ext@sun.com>; Wed, 24 Mar 2010 10:31:06 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KZS00300RBSSF00@fe-sfbay-09.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 24 Mar 2010 10:31:06 -0700 (PDT)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KZS00BOPRBTXA90@fe-sfbay-09.sun.com>; Wed,
 24 Mar 2010 10:31:05 -0700 (PDT)
Date: Wed, 24 Mar 2010 10:31:05 -0700
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: open source sed [PSARC/2010/086 FastTrack timeout 03/17/2010]
In-reply-to: <4BAA12FC.2080306@oracle.com>
Sender: Garrett.Damore@sun.com
To: Sebastien Roy <sebastien.roy@oracle.com>
Cc: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>,
        PSARC-ext@sun.com, shell-discuss@opensolaris.org
Message-id: <4BAA4C59.4000807@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <201003110028.o2B0SxXu013501@sac.sfbay.sun.com>
 <4BAA12FC.2080306@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100131
 Lightning/1.0b1 Thunderbird/3.0.1
Status: RO
Content-Length: 56

This case was approved at PSARC today.

     - Garrett


