On Sat, 12 Nov 2011 18:00:36 +0100
Yoshi Rokuko <[email protected]> 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.
--
You received this message because you are subscribed to the Google Groups
"werc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/werc9?hl=en.