From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab Subject: Re: rebase [-i --exec | -ix] ... Date: Thu, 07 Jun 2012 23:12:07 +0200 Message-ID: References: <4FD0D375.9060902@web.de> <1339087582-10040-1-git-send-email-Lucien.Kong@ensimag.imag.fr> <4FD0EB76.90501@web.de> <20120607200731.Horde.xzrpWHwdC4BP0O3jZ46SyWA@webmail.minatec.grenoble-inp.fr> <4FD0FCAC.3070408@web.de> <20120607215512.Horde.RVmScHwdC4BP0QcggMBjKUA@webmail.minatec.grenoble-inp.fr> <20120607224459.Horde.GLRVL3wdC4BP0RLLE1gTU0A@webmail.minatec.grenoble-inp.fr> Mime-Version: 1.0 Content-Type: text/plain Cc: Torsten =?utf-8?Q?B=C3=B6gershausen?= , Lucien Kong , git@vger.kernel.org To: konglu@minatec.inpg.fr X-From: git-owner@vger.kernel.org Thu Jun 07 23:12:33 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sck0J-0004WF-8r for gcvg-git-2@plane.gmane.org; Thu, 07 Jun 2012 23:12:27 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756769Ab2FGVMN (ORCPT ); Thu, 7 Jun 2012 17:12:13 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:58638 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752904Ab2FGVMM (ORCPT ); Thu, 7 Jun 2012 17:12:12 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3W7fbM2WkGz3hhZW; Thu, 7 Jun 2012 23:12:31 +0200 (CEST) Received: from igel.home (ppp-88-217-110-237.dynamic.mnet-online.de [88.217.110.237]) by mail.mnet-online.de (Postfix) with ESMTPA id 3W7fZw5N1Vz4KK9W; Thu, 7 Jun 2012 23:12:08 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 35155CA2A2; Thu, 7 Jun 2012 23:12:08 +0200 (CEST) X-Yow: NOW do I get to blow out the CANDLES?? In-Reply-To: <20120607224459.Horde.GLRVL3wdC4BP0RLLE1gTU0A@webmail.minatec.grenoble-inp.fr> (konglu@minatec.inpg.fr's message of "Thu, 07 Jun 2012 22:44:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: konglu@minatec.inpg.fr writes: > That's what we originally did. Though we did it with indentations: > tmp=$(sed "/^pick .*/i\ > exec $i" "$1") Inside double quotes \ is removed. You need to double the backslash. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."