From owner-svn-src-head@freebsd.org Tue Dec 11 18:04:09 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDF7F130CDA0 for ; Tue, 11 Dec 2018 18:04:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5B6F83BFE for ; Tue, 11 Dec 2018 18:04:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x734.google.com with SMTP id o89so9173731qko.0 for ; Tue, 11 Dec 2018 10:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xOECVAH5OHnyxXbd2NP4+thkmRxZPFkFRhC0MRjqDYU=; b=Fw05dZBEc76y0j4lljRAvF4SmfK7BsCXmwXiFGR+LQiA5B8f2T/1HYL5k7Px8nZIlf 8+cRURp23m1SfJzvA0xaRExWKfW2EvsQjAH69N6TtBioXYw/7UYpFwFldeimucNnaZQf kmTes6IdW4a5GAWhibo2g+bJSr4HM/TLaXfbq20xiq9SyncKWRgEBVwpYCmLgRz4D+Ib XRoa8haP3yUYnMsYMa10E7b8bop7gv97bL8gU2DcwM9pMXw5olEim8smXTvmMQLpyFHc 7VojzE+FGPI4kj41EJ2S8Dd9kj2r5dJFwqL3mSj1JwR7Qb6sSxufUBV5LZzKbNRqAC9J YenA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xOECVAH5OHnyxXbd2NP4+thkmRxZPFkFRhC0MRjqDYU=; b=auFlcf231QbOSNIOZMnENMyzlOPfqMKQ60dKkiKcLk2DI8UzYGlsJ0mVFeaPOt501y Do5ZgMT2bjXvjzPbmeyY4aKRetGaMGVgNtkVgxSFgBB3Fx3yFOHA5cybhc748bsX7qru nqvwyx57vzgmnqVJ+EigGK3X/26ksiDcCpO5BXa2OM/RI6vs4D0KbhyGs3AO0eaAWJxZ 2QphO1CBOmqBGW0L4yCehrMehWQo1J+D57sBxOP5br6rPNB58TWxNDymDhQ6pturrxvg 2nEzVM8wqJwsTMj/pmq21gSdzoigpHZ4HW0ScB+FaF0Vmhm6rUjrFBu+2CjOeEd/AO+J COAg== X-Gm-Message-State: AA+aEWZZJgLM6LZ7GnUPgZvVlATs88zigrl0CxTYNTUjHhZCYePlSknm 3Yb5EwpQcMb4Jqa7z8k9I1CD0kVAEaxcV2nQZ/kz0w== X-Google-Smtp-Source: AFSGD/Ux29L2XEoLMu4sRrgBxEa8x8Bb7qXNUGUM40fEussidU01KolRwQGfRKskFnRG6xyL4BXJ8uFupLhj+aHuNKY= X-Received: by 2002:a37:6e86:: with SMTP id j128mr16046831qkc.46.1544551447267; Tue, 11 Dec 2018 10:04:07 -0800 (PST) MIME-Version: 1.0 References: <201812110138.wBB1cp1p006660@repo.freebsd.org> <2a76b295-b2da-3015-c201-dbe0ec63ca5a@FreeBSD.org> <98481565-CDD7-4301-B86B-072D5B984AF7@FreeBSD.org> In-Reply-To: From: Warner Losh Date: Tue, 11 Dec 2018 11:03:55 -0700 Message-ID: Subject: Re: svn commit: r341803 - head/libexec/rc To: John Baldwin Cc: Devin Teske , "Conrad E. Meyer" , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-Rspamd-Queue-Id: E5B6F83BFE X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=Fw05dZBE X-Spamd-Result: default: False [-3.29 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[svn-src-head@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[4.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; IP_SCORE(-2.33)[ip: (-8.76), ipnet: 2607:f8b0::/32(-1.53), asn: 15169(-1.27), country: US(-0.09)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2018 18:04:09 -0000 On Tue, Dec 11, 2018, 9:55 AM John Baldwin The 'read' builtin in sh can't use buffering, so it is always going to be > slow > It can't use it because of pipes. The example from the parts of this that was on IRC was basically: foo | (read bar; baz) Which reads one line into the bar variable and then sends the rest to the bar command. Warner >