From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22208 invoked by alias); 25 Feb 2012 18:41:38 -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: 16787 Received: (qmail 16228 invoked from network); 25 Feb 2012 18:41:36 -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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.82.171 as permitted sender) Received-SPF: pass (google.com: domain of arkanosis@gmail.com designates 10.180.74.177 as permitted sender) client-ip=10.180.74.177; Authentication-Results: mr.google.com; spf=pass (google.com: domain of arkanosis@gmail.com designates 10.180.74.177 as permitted sender) smtp.mail=arkanosis@gmail.com; dkim=pass header.i=arkanosis@gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=XpQddblq7uRB9bsE2SVZJQ3t92UARNkqi5xdr6W9nfs=; b=rrdqCfTz/k54YErEcus7l0mgN8ChKhbnDdOFv8XHQ1hJIk7FqqzEwwovvHew4OnKIq FrlyiXlOsmOs6B0onakNsZL/614PLmjaCRrpd4uFbvQJ2Bw+oON4uOP1Mjx8ih01EZWo 4HkfsrM17vTF2RbDR25fVeY6J8x+6/SNIuso8= MIME-Version: 1.0 In-Reply-To: References: <20120225182450.GA31597@solfire> From: =?UTF-8?B?SsOpcsOpbWllIFJvcXVldA==?= Date: Sat, 25 Feb 2012 19:41:16 +0100 Message-ID: Subject: Re: s/pattern/pattern/g on the commandline ? To: meino.cramer@gmx.de Cc: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2012/2/25 J=C3=A9r=C3=A9mie Roquet : > !!:gs/// By the way, that's for the last command, but you can also use: !-2:gs// =E2=80=A6 for the command before; !-3:gs// =E2=80=A6 and so on, as well as: !42:gs// =E2=80=A6 for the 42nd command in your history (the command's number is displayed in your prompt if you have %! in it but you can use the =E2=80=9Chistory=E2=80=9D command as well). Best regards, --=20 J=C3=A9r=C3=A9mie