Message from discussion
ack 1.96 chokes on literal pattern
Received: by 10.50.40.230 with SMTP id a6mr2519792igl.2.1343831741273;
Wed, 01 Aug 2012 07:35:41 -0700 (PDT)
X-BeenThere: ack-users@googlegroups.com
Received: by 10.231.55.155 with SMTP id u27ls1477488ibg.8.gmail; Wed, 01 Aug
2012 07:35:39 -0700 (PDT)
Received: by 10.50.36.169 with SMTP id r9mr2461690igj.4.1343831739795;
Wed, 01 Aug 2012 07:35:39 -0700 (PDT)
Received: by 10.50.36.169 with SMTP id r9mr2461689igj.4.1343831739779;
Wed, 01 Aug 2012 07:35:39 -0700 (PDT)
Return-Path: <a...@petdance.com>
Received: from huggy.petdance.com (huggy.petdance.com. [72.14.176.61])
by gmr-mx.google.com with ESMTPS id ad4si955258igc.1.2012.08.01.07.35.39
(version=TLSv1/SSLv3 cipher=OTHER);
Wed, 01 Aug 2012 07:35:39 -0700 (PDT)
Received-SPF: pass (google.com: best guess record for domain of a...@petdance.com designates 72.14.176.61 as permitted sender) client-ip=72.14.176.61;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of a...@petdance.com designates 72.14.176.61 as permitted sender) smtp.mail=a...@petdance.com
Received: from [172.28.1.125] (host3130.follett.com [12.47.12.130])
(using TLSv1 with cipher AES128-SHA (128/128 bits))
(No client certificate requested)
(Authenticated sender: andy)
by huggy.petdance.com (Postfix) with ESMTP id CB8CF41BE03
for <ack-users@googlegroups.com>; Wed, 1 Aug 2012 10:35:37 -0400 (EDT)
From: Andy Lester <a...@petdance.com>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: multipart/alternative; boundary="Apple-Mail=_AA039E76-3FA5-49FB-B401-8CF4D87124B9"
Subject: Re: [ack-users] Re: ack 1.96 chokes on literal pattern
Date: Wed, 1 Aug 2012 09:36:20 -0500
In-Reply-To: <5137ec21-6087-4482-8656-12788f477467@googlegroups.com>
To: ack-users@googlegroups.com
References: <130b26f1-4257-46c2-a082-ec121cab98bd@googlegroups.com> <5137ec21-6087-4482-8656-12788f477467@googlegroups.com>
Message-Id: <A9F56B95-E39C-45B0-8053-25E16B179465@petdance.com>
X-Mailer: Apple Mail (2.1278)
--Apple-Mail=_AA039E76-3FA5-49FB-B401-8CF4D87124B9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=iso-8859-1
On Aug 1, 2012, at 9:28 AM, Rob Hoelz wrote:
> Thanks for your input on ack! Have you tried putting a '--' before =
the +test+ pattern?
More detail: Rob is thinking that ack is seeing "+test+" as a command =
line option because of the leading plus. Putting a "--" on the command =
line says "nothing after here is a command line switch, even if it looks =
like it is."
I've made a note to make this be an FAQ. =
https://github.com/petdance/ack2/issues/140
Thanks!
xoa
--
Andy Lester =3D> a...@petdance.com =3D> www.petdance.com =3D> =
AIM:petdance
--Apple-Mail=_AA039E76-3FA5-49FB-B401-8CF4D87124B9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=iso-8859-1
<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Aug 1, 2012, at 9:28 AM, Rob Hoelz wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Georgia; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Thanks for =
your input on ack! Have you tried putting a '--' before the +test+ =
pattern?<br></span></blockquote></div><br><div>
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: Georgia; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: =
rgb(0, 0, 0); font-family: Georgia; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: =
0px; -webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div>More detail: Rob is =
thinking that ack is seeing "+test+" as a command line option because of =
the leading plus. Putting a "--" on the command line says "nothing =
after here is a command line switch, even if it looks like it =
is."</div><div><br></div><div>I've made a note to make this be an =
FAQ. <a =
href=3D"https://github.com/petdance/ack2/issues/140">https://github.com/pe=
tdance/ack2/issues/140</a></div><div><br></div><div>Thanks!</div><div><br>=
</div><div>xoa</div><div><br>--<br>Andy Lester =3D> <a =
href=3D"mailto:a...@petdance.com">a...@petdance.com</a> =3D> =
<a href=3D"http://www.petdance.com">www.petdance.com</a> =3D> <a =
href=3D"AIM:petdance">AIM:petdance</a></div></div></span></span>
</div>
<br></body></html>=
--Apple-Mail=_AA039E76-3FA5-49FB-B401-8CF4D87124B9--