From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24080 invoked by alias); 25 Feb 2012 18:56:09 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16788 Received: (qmail 25014 invoked from network); 25 Feb 2012 18:56:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at bunkus.org does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bunkus.org; s=mail201007; t=1330195607; bh=a/6AEJRlSL5+xfzVn6+WJ1USvnmnwJ++Wn5snzdfi8c=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Content-Type; b=b+pHplWvKsj1GRNA0vHbzbpif/XEASO5wDLWRJzcmQWx2b84u7sXMeZGFxLvFZQ0a Ud/6yU/eLTpEkaQWY5YygiYKD2zEQ8Dq6OLTQNl6qYh7ejXmkQJsMkPe1jOK5Ou80B Ob6E2iJMx8vVvyXlrMEuzZdnHAWlQLbBZ5gLu/U4= X-Virus-Scanned: Debian amavisd-new at iella.bunkus.org Received-SPF: pass (google.com: domain of moritz@bunkus.org designates 10.182.155.68 as permitted sender) client-ip=10.182.155.68; Authentication-Results: mr.google.com; spf=pass (google.com: domain of moritz@bunkus.org designates 10.182.155.68 as permitted sender) smtp.mail=moritz@bunkus.org MIME-Version: 1.0 In-Reply-To: References: <20120225182450.GA31597@solfire> Date: Sat, 25 Feb 2012 19:46:36 +0100 Message-ID: Subject: Re: s/pattern/pattern/g on the commandline ? From: Moritz Bunkus To: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Hey, while we're at it: is there a way to do history expansion without actually submitting the modified entry? Meaning I would like to verify that my regex fu was strong enough to produce the correct command before submitting it. "!!:gs/what/ever" executes the command directly if I'm not mistaken. Kind regards, mo