Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Confusing grep behavior

by dextius (Monk)
on Dec 04, 2007 at 23:33 UTC ( #654988=note: print w/replies, xml ) Need Help??


in reply to Re: Confusing grep behavior
in thread Confusing grep behavior

You are quite right.. I should rephrase my question... On Mac OS X, the comma isn't required, and has far different behavior. Anyone happen to know what that is?

Replies are listed 'Best First'.
Re^3: Confusing grep behavior
by perrin (Chancellor) on Dec 04, 2007 at 23:52 UTC
    It's not a Mac thing. 5.8.5 on Linux allows it as well. I'm guessing it's a bug that was fixed in 5.8.7 or 5.8.8.
      Thanks, I wasn't aware of the bug, and was just confused since I wasn't getting a syntax error.
Re^3: Confusing grep behavior
by grep (Monsignor) on Dec 05, 2007 at 00:44 UTC

    No matter what OS you run it on the comma is still required, as noted by the POD and (quite noticeably) by the incorrect performance. The only difference(bug) is that it didn't throw an error. A crime is still a crime, whether you get caught or not :).

    grep
    One dead unjugged rabbit fish later...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://654988]
help
Chatterbox?
[marto]: the fun part, I had no fun this weekend, very stressful :)
[Corion]: But I feel an introductory talk gestating, working title "Reading CPAN" - how to read module documentation, how to judge a module, how to read the module tests/examples
[Corion]: marto: Ouch :-/ The kids are making trouble?
[Corion]: Meh - food becons, and colleagues are staring at me, talk to you later, sorry!
[marto]: Corion I've been toying with this as a background task

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-08-21 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (319 votes). Check out past polls.

    Notices?