Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756723Ab3GKVN7 (ORCPT ); Thu, 11 Jul 2013 17:13:59 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:46644 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756596Ab3GKVN6 (ORCPT ); Thu, 11 Jul 2013 17:13:58 -0400 MIME-Version: 1.0 In-Reply-To: <51DEF1F3.2020900@zytor.com> References: <1373264904-27053-1-git-send-email-michael.opdenacker@free-electrons.com> <20130708192854.GF4927@phenom.dumpdata.com> <20130708193457.GA6926@u109add4315675089e695.ant.amazon.com> <51DB2134.9040909@zytor.com> <20130708205834.GA481@pd.tnic> <1373326534.1438.10.camel@x61.thuisdomein> <1373537338.9708.18.camel@x61.thuisdomein> <51DEF1F3.2020900@zytor.com> Date: Thu, 11 Jul 2013 23:13:57 +0200 X-Google-Sender-Auth: 0HDKvWa3TU9qAU6r32zYYB7BG6g Message-ID: Subject: Re: [Xen-devel] [PATCH] xen: remove unused Kconfig parameter From: Geert Uytterhoeven To: "H. Peter Anvin" Cc: Paul Bolle , Konrad Rzeszutek Wilk , Borislav Petkov , Matt Wilson , Michael Opdenacker , Jeremy Fitzhardinge , xen-devel@lists.xensource.com, "the arch/x86 maintainers" , "linux-kernel@vger.kernel.org" , virtualization@lists.linux-foundation.org, Ingo Molnar , Thomas Gleixner Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1200 Lines: 32 On Thu, Jul 11, 2013 at 7:57 PM, H. Peter Anvin wrote: >> The check grub2 currently performs in one of its configuration scripts >> is (reformatted): >> if (grep -qx "CONFIG_XEN_DOM0=y" "${config}" 2> /dev/null || >> grep -qx "CONFIG_XEN_PRIVILEGED_GUEST=y" "${config}" 2> /dev/null); >> then echo -n "$i " ; >> fi >> > > If only grep supported looking for more than one string at a time. > Maybe we could construct some kind of pattern expression syntax for it, > perhaps based on the theory of regular languages? grep -E "(pat1|pat2|pat3|...)"? Or am I missing something? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/