Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion search box

Received: by 10.224.187.197 with SMTP id cx5mr2335770qab.1.1321663296955;
        Fri, 18 Nov 2011 16:41:36 -0800 (PST)
X-BeenThere: werc9@googlegroups.com
Received: by 10.224.203.195 with SMTP id fj3ls4184032qab.5.gmail; Fri, 18 Nov
 2011 16:41:36 -0800 (PST)
Received: by 10.224.186.7 with SMTP id cq7mr2328428qab.4.1321663296229;
        Fri, 18 Nov 2011 16:41:36 -0800 (PST)
Received: by 10.224.186.7 with SMTP id cq7mr2328427qab.4.1321663296220;
        Fri, 18 Nov 2011 16:41:36 -0800 (PST)
Return-Path: <eeke...@fastmail.fm>
Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com. [66.111.4.26])
        by gmr-mx.google.com with ESMTPS id j29si1031807qcs.2.2011.11.18.16.41.36
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 18 Nov 2011 16:41:36 -0800 (PST)
Received-SPF: pass (google.com: domain of eeke...@fastmail.fm designates 66.111.4.26 as permitted sender) client-ip=66.111.4.26;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of eeke...@fastmail.fm designates 66.111.4.26 as permitted sender) smtp.mail=eeke...@fastmail.fm; dkim=pass header...@fastmail.fm
Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41])
	by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id E4C3320DAB
	for <werc9@googlegroups.com>; Fri, 18 Nov 2011 19:41:35 -0500 (EST)
Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160])
  by compute1.internal (MEProxy); Fri, 18 Nov 2011 19:41:35 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=
	date:from:to:subject:message-id:in-reply-to:references
	:mime-version:content-type:content-transfer-encoding; s=mesmtp;
	 bh=1zDPypzxdjqpHEfeFY4fCC3NqQM=; b=EQtGhWVWB0slb0tIA2TJcmZ0Krtp
	BpTE2CC6rVxh1xG8QGVx1vz5FNc5HmM92NIk2cYCuU1FbY595A8sYfHu5AN05VFv
	KnYhrtvhUiVXfTG4/m/NiGvNSf2ZXmM92ArO4XAaLCmjIyFqVZZ5cvE0MK6K1f/x
	T+zQubCzDUKhmQo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=date:from:to:subject:message-id
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=smtpout; bh=1zDPypzxdjqpHEfeFY4fCC
	3NqQM=; b=Z6PxB723toxhdThpuQBu1MyUKeIu5/Z0F3a+vGP+ijn1C55mAJgdw9
	Lx/92iY0etc7WRoYSnKWDCYXJC/vqMWw3rXfGcTWRszwzlOrUpCG+oIJ2+QKwRcC
	S0fP06Dfevu+NbxKVLotATJ+YeHQiHAslzFFbVH+dz+F83RuKPq1Y=
X-Sasl-enc: oNzhTD2n/8i990T3qmEMeLdNJiYdyT6iJALHad2yirQ4 1321663295
Received: from inari.ethans.dre.am (client-86-25-231-118.lds-bng-012.adsl.virginmedia.net [86.25.231.118])
	by mail.messagingengine.com (Postfix) with ESMTPA id 683AF8E0152
	for <werc9@googlegroups.com>; Fri, 18 Nov 2011 19:41:35 -0500 (EST)
Date: Sat, 19 Nov 2011 00:41:33 +0000
From: Ethan Grammatikidis <eeke...@fastmail.fm>
To: werc9@googlegroups.com
Subject: Re: search box
Message-ID: <20111119004133.76e97...@inari.ethans.dre.am>
In-Reply-To: <201111121700.pACH0atH020...@lotus.yokuts.org>
References: <201111121631.pACGVBoK016...@lotus.yokuts.org>
	<CAL4LZygADNwmbnP8=YZqb8hzv_BUgbfdn+R8ZeS9Ef6djDv...@mail.gmail.com>
	<201111121700.pACH0atH020...@lotus.yokuts.org>
X-Mailer: Claws Mail 3.7.8 (GTK+ 2.18.9; i486-slackware-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Sat, 12 Nov 2011 18:00:36 +0100
Yoshi Rokuko <yo...@rokuko.net> wrote:

> +------------------------------ John Floren -----------+
> > What would happen if I searched for "foo *; rm -r *;"?
> 
> if this would be an issue it would be a bug in grep or
> sed i think (see below)
> 
> yoshi
> 
> <...>
> > > r=`{grep $pattern $f | sed G | markdown.pl | sed \\
> > >    's/'$pattern'/<span class="hl">&<\/span>/'}
> <...>
> 

I've been trying to make this break but the worst I made happen was a
syntax error from rc, so it looks ok. I would look at how pattern is
set rather than this end, just to be sure, but I expect werc's form
stuff is pretty well worked out.

I would think Bourne shell would be more likely to make this a problem.