Re: [patch] -H flag for grep.

2011-02-22 Thread Marco Peereboom
On Tue, Feb 22, 2011 at 08:41:07PM -0500, Nick Holland wrote:
> On 02/22/11 16:47, Stuart Henderson wrote:
> > On 2011/02/22 01:08, patrick keshishian wrote:
> >> > find . -name '*.c' -exec awk '/bla/ {print FILENAME $0}'
> >> 
> >> my that's awkward.
> >^^^
> > *groan*
> 
> d'oh.  I missed that.  And I thought I was good at the bad pun.
> 
> Nick.

http://www.thebestpageintheuniverse.net/c.cgi?u=puns



Re: [patch] -H flag for grep.

2011-02-22 Thread Nick Holland
On 02/22/11 16:47, Stuart Henderson wrote:
> On 2011/02/22 01:08, patrick keshishian wrote:
>> > find . -name '*.c' -exec awk '/bla/ {print FILENAME $0}'
>> 
>> my that's awkward.
>^^^
> *groan*

d'oh.  I missed that.  And I thought I was good at the bad pun.

Nick.



Re: [patch] -H flag for grep.

2011-02-22 Thread patrick keshishian
On Tue, Feb 22, 2011 at 11:10 AM, Iruatc Souza  wrote:
> On Tue, Feb 22, 2011 at 2:21 PM, Pascal Stumpf 
wrote:
>> On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote:
>>> On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian 
wrote:
>>> > my that's awkward.
>>> >
>>>
>>> if you can't combine unix tools, you should be looking at perl.
>>>
>>> iru
>>>
>>>
>>
>> I bet everyone here knows one can achieve the same results with awk,
>> perl, C, python, ruby, tcl, Haskell, java and goat sacrifices at
>> fullmoon. That doesn't mean any of those is the easiest or most
>> convenient tool for the job. Using a fully-blown programming language
>> just to output a filename and a line matching a regex is plain overkill.
>>
>>
>
> not everyone knows sarcasm.

or gets humor for that matter.

--patrick



Re: [patch] -H flag for grep.

2011-02-22 Thread Stuart Henderson
On 2011/02/22 01:08, patrick keshishian wrote:
> > find . -name '*.c' -exec awk '/bla/ {print FILENAME $0}'
> 
> my that's awkward.
^^^
*groan*



Opportunity: UI / Front End developer

2011-02-22 Thread Kris Kumar
At Good Methods Global we strive to create better design and
requirements for business software using the power of high fidelity
visualizations.If you have a great attitude to solving problems and can
constantly learn new technology to visualize solutions to complex
business problems, then perhaps it*s time to interact...

Position: UI / Front End developer
Location: San Francisco, CA
Duration: 12 Months Contract
Salary: DOE
No. of Position: Three

Job Description:
Looking for a lead UI / Front End developer for a Retail eCommerce
website. Client is looking to enhance their eCom website with
Personalization, UI improvements etc., this year.
 
The front end technologies used are JavaScript/HTML/CSS/JSP/Tag
libraries/Ajax etc.,
 
The other experiences that will be helpful are the ability to create
wire frames/PoCs, create rough UI workflows, ability to optimize the UI
flows, experience in personalization type work will be a great plus.

If you are interested in pursuing a career with Good Methods Global,
please email your resume to k...@goodmethodsglobal.com
  and let us know the best time to
reach you along with your contact information.
 
Regards,

Kris Kumar

518-770-6416



Re: [patch] -H flag for grep.

2011-02-22 Thread Iruatã Souza
On Tue, Feb 22, 2011 at 4:26 PM, Pascal Stumpf  wrote:
> On Tue, Feb 22, 2011 at 04:13:34PM -0300, Iruatc Souza wrote:
>> On Tue, Feb 22, 2011 at 2:21 PM, Pascal Stumpf  
>> wrote:
>> > On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote:
>> >> On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian  
>> >> wrote:
>> >> > my that's awkward.
>> >> >
>> >>
>> >> if you can't combine unix tools, you should be looking at perl.
>> >>
>> >> iru
>> >>
>> >>
>> >
>> > I bet everyone here knows one can achieve the same results with awk,
>> > perl, C, python, ruby, tcl, Haskell, java and goat sacrifices at
>> > fullmoon. That doesn't mean any of those is the easiest or most
>> > convenient tool for the job. Using a fully-blown programming language
>> > just to output a filename and a line matching a regex is plain overkill.
>> >
>> >
>>
>> are you sure adding a flag is the right tool? maybe you should take a
>> look at the reference i mentioned earlier.
>>
>> iru
>>
>>
> grep(1) is the right tool. Adding a flag just makes it more usable for
> specific tasks.
>
>

as it did for cat -v, right?



Re: [patch] -H flag for grep.

2011-02-22 Thread Iruatã Souza
On Tue, Feb 22, 2011 at 2:21 PM, Pascal Stumpf  wrote:
> On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote:
>> On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian  
>> wrote:
>> > my that's awkward.
>> >
>>
>> if you can't combine unix tools, you should be looking at perl.
>>
>> iru
>>
>>
>
> I bet everyone here knows one can achieve the same results with awk,
> perl, C, python, ruby, tcl, Haskell, java and goat sacrifices at
> fullmoon. That doesn't mean any of those is the easiest or most
> convenient tool for the job. Using a fully-blown programming language
> just to output a filename and a line matching a regex is plain overkill.
>
>

not everyone knows sarcasm.

iru



Re: [patch] -H flag for grep.

2011-02-22 Thread Iruatã Souza
On Tue, Feb 22, 2011 at 2:21 PM, Pascal Stumpf  wrote:
> On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote:
>> On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian  
>> wrote:
>> > my that's awkward.
>> >
>>
>> if you can't combine unix tools, you should be looking at perl.
>>
>> iru
>>
>>
>
> I bet everyone here knows one can achieve the same results with awk,
> perl, C, python, ruby, tcl, Haskell, java and goat sacrifices at
> fullmoon. That doesn't mean any of those is the easiest or most
> convenient tool for the job. Using a fully-blown programming language
> just to output a filename and a line matching a regex is plain overkill.
>
>

are you sure adding a flag is the right tool? maybe you should take a
look at the reference i mentioned earlier.

iru



Re: [patch] -H flag for grep.

2011-02-22 Thread Marco Peereboom
You made your point; no need repeating it.

On Tue, Feb 22, 2011 at 08:26:31PM +0100, Pascal Stumpf wrote:
> On Tue, Feb 22, 2011 at 04:13:34PM -0300, Iruatc Souza wrote:
> > On Tue, Feb 22, 2011 at 2:21 PM, Pascal Stumpf  
> > wrote:
> > > On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote:
> > >> On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian 
> > >>  wrote:
> > >> > my that's awkward.
> > >> >
> > >>
> > >> if you can't combine unix tools, you should be looking at perl.
> > >>
> > >> iru
> > >>
> > >>
> > >
> > > I bet everyone here knows one can achieve the same results with awk,
> > > perl, C, python, ruby, tcl, Haskell, java and goat sacrifices at
> > > fullmoon. That doesn't mean any of those is the easiest or most
> > > convenient tool for the job. Using a fully-blown programming language
> > > just to output a filename and a line matching a regex is plain overkill.
> > >
> > >
> > 
> > are you sure adding a flag is the right tool? maybe you should take a
> > look at the reference i mentioned earlier.
> > 
> > iru
> > 
> > 
> grep(1) is the right tool. Adding a flag just makes it more usable for
> specific tasks.



Re: [patch] -H flag for grep.

2011-02-22 Thread Andres Perera
On Tue, Feb 22, 2011 at 12:51 PM, Pascal Stumpf  wrote:
> On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote:
>> On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian  
>> wrote:
>> > my that's awkward.
>> >
>>
>> if you can't combine unix tools, you should be looking at perl.
>>
>> iru
>>
>>
>
> I bet everyone here knows one can achieve the same results with awk,
> perl, C, python, ruby, tcl, Haskell, java and goat sacrifices at
> fullmoon. That doesn't mean any of those is the easiest or most
> convenient tool for the job. Using a fully-blown programming language
> just to output a filename and a line matching a regex is plain overkill.
>

then make the awk line a function or a script

don't add more flags to grep that are hard to guess what they do

-H for "header"? what does it mean?

have you looked at how many flags ls(1) can have? it's a nightmare



Re: [patch] -H flag for grep.

2011-02-22 Thread Pascal Stumpf
On Tue, Feb 22, 2011 at 04:13:34PM -0300, Iruatc Souza wrote:
> On Tue, Feb 22, 2011 at 2:21 PM, Pascal Stumpf  wrote:
> > On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote:
> >> On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian  
> >> wrote:
> >> > my that's awkward.
> >> >
> >>
> >> if you can't combine unix tools, you should be looking at perl.
> >>
> >> iru
> >>
> >>
> >
> > I bet everyone here knows one can achieve the same results with awk,
> > perl, C, python, ruby, tcl, Haskell, java and goat sacrifices at
> > fullmoon. That doesn't mean any of those is the easiest or most
> > convenient tool for the job. Using a fully-blown programming language
> > just to output a filename and a line matching a regex is plain overkill.
> >
> >
> 
> are you sure adding a flag is the right tool? maybe you should take a
> look at the reference i mentioned earlier.
> 
> iru
> 
> 
grep(1) is the right tool. Adding a flag just makes it more usable for
specific tasks.



Re: [patch] -H flag for grep.

2011-02-22 Thread Pascal Stumpf
On Tue, Feb 22, 2011 at 02:29:59PM -0430, Andres Perera wrote:
> On Tue, Feb 22, 2011 at 12:51 PM, Pascal Stumpf  
> wrote:
> > On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote:
> >> On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian  
> >> wrote:
> >> > my that's awkward.
> >> >
> >>
> >> if you can't combine unix tools, you should be looking at perl.
> >>
> >> iru
> >>
> >>
> >
> > I bet everyone here knows one can achieve the same results with awk,
> > perl, C, python, ruby, tcl, Haskell, java and goat sacrifices at
> > fullmoon. That doesn't mean any of those is the easiest or most
> > convenient tool for the job. Using a fully-blown programming language
> > just to output a filename and a line matching a regex is plain overkill.
> >
> 
> then make the awk line a function or a script
... which would still invoke awk. The problem is not that I'm too lazy
to type that awk line.
 
> don't add more flags to grep that are hard to guess what they do
man(1).
 
> -H for "header"? what does it mean?
The name is arbitrarily chosen for GNU compatibility. But as todd@
remarked, there already is a -h flag, so the semantics of -H are quite
easy to guess.

> have you looked at how many flags ls(1) can have? it's a nightmare
Yes. I'm not suggesting to add tons of useless long options no one ever
uses. It's _one_ flag that's commonly needed in everyday use. All those
proposed workarounds and hacks rather prove than disprove that.



How Appetizing is Your Restaurant?

2011-02-22 Thread Pete
How likely your *potential* customers to
visit your restaurant after they see your website?

How appetizing is your website?
Is your web presence up to date?

Be ready to capture the exposure you have online by keeping up with the web
trends of today.

Entice new customers to visit your Restaurant  Every Single Day.

Serve up a website that is as fresh as the food in your restaurant.

FIND OUT MORE...
Call us for a no-nonsense conversation about your website needs.
(801) 440-1550

or, visit us online: http://www.websitedesignguys.com/




















Unsubscribe here:
http://www2.websitedesignguys.com/index.php/bulk_emailer/lists/unsubscribe?em
ail=tech@openbsd.org

=
AAA Advanced
SUITE AAA
351 W 6160 South
Murray, UT 84117
USA
(866) 322-2599



Comunicado URGENTE Banco Santander/Real

2011-02-22 Thread Santander S/A
 - This mail is a HTML mail. Not all elements could be shown in plain text
mode. -

Documento sem tmtulo
Prezado Cliente:
Com a unificagco do Banco Real com o Banco Santander,
estaremos realizando uma atualizagco de dados para os clientes
real/santander.
Para iniciar a atualizagco clique no link abaixo e o link lhe
redicionara para um site onde vocj podera fazer o download do:
Atualizar dados - Real/Santander
A atualizagco i obrigatsria para todos os clientes, caso a
caso a atualizagco nco seja realizada num prazo de 72 horas
o cliente tera a conta suspensa ao acesso Internet Banking Santander,
e a mesma ss sera liberada na agjncia de origem.
) 2010 Santander Bank S.A. Todos os direitos reservados.



Re: [patch] -H flag for grep.

2011-02-22 Thread Pascal Stumpf
On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote:
> On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian  
> wrote:
> > my that's awkward.
> >
> 
> if you can't combine unix tools, you should be looking at perl.
> 
> iru
> 
> 

I bet everyone here knows one can achieve the same results with awk,
perl, C, python, ruby, tcl, Haskell, java and goat sacrifices at
fullmoon. That doesn't mean any of those is the easiest or most
convenient tool for the job. Using a fully-blown programming language
just to output a filename and a line matching a regex is plain overkill.



Re: [patch] -H flag for grep.

2011-02-22 Thread Iruatã Souza
On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian  wrote:
> my that's awkward.
>

if you can't combine unix tools, you should be looking at perl.

iru



Re: [patch] -H flag for grep.

2011-02-22 Thread Iruatã Souza
On Mon, Feb 21, 2011 at 11:30 PM, Andres Perera  wrote:
> On Mon, Feb 21, 2011 at 7:01 PM, Philip Guenther 
wrote:
>> On Mon, Feb 21, 2011 at 2:30 PM, Fred Crowson 
wrote:
>>> On 02/21/11 15:54, Alexander Schrijver wrote:
>> ...
 grep(1) only prints the filename when it receives more then 1 filename
as
 arguments. Thus, when you do this:

 $ find . -name '*.c' -exec grep bla {} \;

 It doesn't print the filename.

 But when you use xargs(1), like Bret suggests it does.
>>>
>>> $ find . -name "*.php" -exec grep blah {} \; -print
>>>
>>> Will print the file name after the line that grep matches.
>>
>> The other classical solution is to always pass multiple filenames by
>> including a /dev/null argument:
>>
>> B B find . -name '*.c' -exec grep bla {} /dev/null \;
>>
>> That works with the xargs case too:
>>
>> B find . -name '*.c' -print0 | xargs -0 grep bla /dev/null
>
> these two ugly hacks and the the redundant flag have been sought while
> what's natural has been overlooked
>
> find . -name '*.c' -exec awk '/bla/ {print FILENAME $0}'
>
> why complicate grep?
>

because they forgot to read 'Program Design in the UNIX Environment'?

iru



Preporučujemo: popust na sve na novoj Dormeo stranici

2011-02-22 Thread Top Shop
Top Shop preporuD
uje Novi Dormeo sajt sa još boljim ponudama!

Dormeo

Poštovani,

Sa zadovoljstvom Vas obaveštavamo da smo obnovili Dormeo.rs web stranicu
i uD
inili da bude mnogo lepša i funkcionalnija za Vas. Potrudili smo se
da skratimo vreme Vaše kupovine i pomognemo u brE>em i još boljem odabiru
pravih proizvoda za Vas i Vaše najbliE>e.

Na novom Dormeo.rs sajtu moDi Dete mnogo brE>e da saznate sve o
najnovijim akcijama i sniE>enjima i daleko jednostavnije pronaDete
odgovore na sva pitanja o proizvodima i procesu kupovine. A Dormeo je za
sve Vas pripremio i posebno iznenaDenje za novi uspešan poD
etak!

Sajt Dormeo.rs je obezbedio svim posetiocima i poseban popust koji De
trajati samo 48 sati! Samo 16. i 17. februara, na novoj Dormeo.rs
stranici moE>ete da poruD
ite sve proizvode koji nisu veD na akciji po
atraktivnoj ceni uz 10% popusta! Pregledajte novi sajt, pronaDite sve
Å¡to je potrebno Vama ili nekom bliskom, i pripremite se za ekstra popust
16. februara od 12 D
asova - taD
no u podne!

PronaDite svoj omiljeni Dormeo veD danas i saD
ekajte svoj popust!
Pogledajte celu ponudu>>

E=elimo Vam uspešnu pretragu!
Dormeo tim.

Interaktivni vodiD
 za lakši odabir proizvoda

Jednostavni i efikasni vodiD
i sa praktiD
nim savetima

Video prezentacije
Dormeo proizvoda i akcija

Interaktivni vodiD


VodiD
i

Video prezentacije

U nekoliko kratkih i jednostavnih koraka, na osnovu Vaših potreba, vodimo
Vas do savršenog Dormeo proizvoda za Vas.

Isprobajte vodiD
 >>

VodiD
i sa praktiD
nim savetima i zanimljivostima o svim proizvodima za
spavanje, modernim materijalima i sjajnim funkcijama...

Više o vodiD
ima >>

Za vas smo pripremili prezentacije Dormeo proizvoda: vodiD
 kroz
upotrebu, prednosti i svedoD
enja zadovoljnih korisnika.

Pogledajte prezentacije >>

PomoD pri izboru pravog dušeka za Vas

Tabele za poreDenje i pregled svih dušeka

PoreDenje i pregled svih prekrivaD
a

PomoD pri izboru dušeka

Tabele za poreDenje

PrekrivaD
i

Upotrebite padajuDi meni i izaberite dušek idealne tvrdoDe baš za Vas.

Isprobajte filtere >>

Ovde Dete pronaDi sve što je potrebno za izbor idealnog dušeka po Vašoj
meri!

Pogledajte tabele >>

TraE>ite pokrivaD
 koji De Vam u potpunosti odgovarati i zadovoljiti sve
Vaše potrebe? - Pogledajte!

Pogledajte tabele >>

PoD
etna | Dušeci | Jastuci | Posteljina | Letvice | PokrovaD
i

Nameštaj | PreporuD
ujemo | Tekstovi | Video | Akcija!

Ovu elektronsku poštu primate, ukoliko ste uD
estvovali u nagradnim i
poklon igrama ili se registrovali na sajtu www.top-shop.rs ili nekom od
drugih sajtova Studio Moderne.

Ponuda data u ovom email-u vaE>i iskljuD
ivo za porudE>bine putem sajta
www.top-shop.rs ili www.dormeo.rs ili putem broja telefona 021 489 26 50.
Ponude vaE>e do isteka zaliha. Isporuku vršimo samo na teritoriji Srbije.

Ukoliko ne E>elite više da primate našu elektronsku poštu, za odjavu sa
naše e-mailing liste kliknite ovde . U obrazac na strani upišite svoju
e-mail adresu i odjavu potvrdite.

Studio Moderna d.o.o., Bulevar vojvode Stepe 30, 21 000 Novi Sad, Srbija
Tel: +381 21 489 26 50, Fax: + 381 21 489 29 08.

[IMAGE]If you would no longer like to receive our emails please
unsubscribe by clicking here.



Neue Sicherheitsmassnahmen[Best�tigungs 0990010]

2011-02-22 Thread sicherh...@ppl.com
[IMAGE]



Liebe User PayPal Dringende Antwort,
Ungewvhnliche Kontobewegungen haben es notwendig gemacht Ihr Konto
einzugrenzen bis zusdtzliche Informationen zur \berpr|fung gesammelt
werden.

Zur Zeit haben Sie nur begrenzten Zugang zu Ihrem Pay Pal Konto. Wir
bitten Sie daher die von uns angeforderten Kontodaten zu enrneuern.

Bitte klicken Sie hier ;

Copyright ) 1999-2011 PayPal. All rights reserved
PayPal Germany Pty Limited
ABN 93 111 195 389 (AFSL 304962)



Re: [patch] -H flag for grep.

2011-02-22 Thread patrick keshishian
On Mon, Feb 21, 2011 at 10:00:21PM -0430, Andres Perera wrote:
> On Mon, Feb 21, 2011 at 7:01 PM, Philip Guenther  wrote:
> > On Mon, Feb 21, 2011 at 2:30 PM, Fred Crowson  wrote:
> >> On 02/21/11 15:54, Alexander Schrijver wrote:
> > ...
> >>> grep(1) only prints the filename when it receives more then 1 filename as
> >>> arguments. Thus, when you do this:
> >>>
> >>> $ find . -name '*.c' -exec grep bla {} \;
> >>>
> >>> It doesn't print the filename.
> >>>
> >>> But when you use xargs(1), like Bret suggests it does.
> >>
> >> $ find . -name "*.php" -exec grep blah {} \; -print
> >>
> >> Will print the file name after the line that grep matches.
> >
> > The other classical solution is to always pass multiple filenames by
> > including a /dev/null argument:
> >
> > B  find . -name '*.c' -exec grep bla {} /dev/null \;
> >
> > That works with the xargs case too:
> >
> > B find . -name '*.c' -print0 | xargs -0 grep bla /dev/null
> 
> these two ugly hacks and the the redundant flag have been sought while
> what's natural has been overlooked
> 
> find . -name '*.c' -exec awk '/bla/ {print FILENAME $0}'

my that's awkward.

> why complicate grep?


--patrick

"Anybody has a right to evade taxes if he can get away with it.  No citizen
 has a moral obligation to assist in maintaining his government."
-- J.P. Morgan



Fw: Relatorio orcamento.

2011-02-22 Thread Vania Duarte
[IMAGE] 1 anexos

Relatorio-orcamento.pdf (142,1 kb)

Segue em anexo o relatorio para orgamento.
tenha um bom dia.
__