From owner-svn-src-all@FreeBSD.ORG Mon Jun 13 20:15:45 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B7DB106564A; Mon, 13 Jun 2011 20:15:45 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C9D398FC16; Mon, 13 Jun 2011 20:15:44 +0000 (UTC) Received: by vws18 with SMTP id 18so5680847vws.13 for ; Mon, 13 Jun 2011 13:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZNDW9qOrOWE9FUzztEyWmBhi8TvO/pK+/8nOCTYZPEg=; b=a0Hnxh6xqY0sb8m63maVMUVvMzbb0P3HFWcRYXh2xs4VqHL7Cx+wfoA4RIYa+NctHR RQTS14/YDK+9AAa9tUMx7p9LHNO0ubLc1sqhBLEc88pp40twcmOGxwm+5YdG5kHYnlqL Rf2y/NNOrwRQ5fTE/uLdIsZOpoTTLzP7pkeIY= 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=TNIAzVjIDHy7bUZLIjz5hrU670or+SFEi6NcxPvL3yGeN1L9wAWSg3EXh3AYNFa1Y1 TM/HQ/Y9NhiKDuqp5KnfkSSVH8LrUy5u/XCcU5QaYli9jK6ZHB7qAaNPfEZ5MLqEf4zN 8nEHdPbWKqFdLi2EqZXJskHBes3zGKcFbW0p8= MIME-Version: 1.0 Received: by 10.220.187.76 with SMTP id cv12mr2230510vcb.128.1307996143767; Mon, 13 Jun 2011 13:15:43 -0700 (PDT) Received: by 10.220.189.202 with HTTP; Mon, 13 Jun 2011 13:15:43 -0700 (PDT) In-Reply-To: <201106131945.p5DJj1JF096079@svn.freebsd.org> References: <201106131945.p5DJj1JF096079@svn.freebsd.org> Date: Mon, 13 Jun 2011 13:15:43 -0700 Message-ID: From: Garrett Cooper To: Josh Paetzel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r223056 - head/etc/periodic/daily X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2011 20:15:45 -0000 On Mon, Jun 13, 2011 at 12:45 PM, Josh Paetzel wrote= : > Author: jpaetzel > Date: Mon Jun 13 19:45:01 2011 > New Revision: 223056 > URL: http://svn.freebsd.org/changeset/base/223056 > > Log: > =A0Convert the allowed characters '-', '.', and ':' in a ZFS pool name to= _ > =A0to avoid causing errors in the shell script. This could be done like: sed -E -e 's/[-\.:]/_/g' to avoid the need for pipelining multiple tr calls. Example: $ echo :-. | sed -E -e 's/[-\.:]/_/g' ___ $