Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^6: Find and replace MD5 hash from file

by ikegami (Pope)
on Jun 29, 2011 at 20:40 UTC ( #912033=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Find and replace MD5 hash from file
in thread Find and replace MD5 hash from file

And? Did you actually read what I posted? I told him he would have to quote single quote if there's a possibility they are used. Nothing you are saying contradicts that.

In fact, you are trying to chastise me for mentioning extra work might be needed when you don't even know that the extra work isn't needed. ("I believe this is the format").

If you want to point out that the extra work isn't needed in this circumstance, fine. But you haven't done that yet.


Comment on Re^6: Find and replace MD5 hash from file
Re^7: Find and replace MD5 hash from file
by philipbailey (Chaplain) on Jun 29, 2011 at 20:53 UTC

    I'm saying I have domain knowledge of the format, and that it never contains quotes. I also gave you a URL providing the makepasswd code as evidence. Have you read that?

      I'm saying I have domain knowledge of the format, and that it never contains quotes.

      Thanks for the info.

      also gave you a URL providing the makepasswd code as evidence. Have you read that?

      Why would I? It wouldn't support or contradict anything you or I said.

        Your approach is absolutely fine in a code library providing the most generalisable possible solution for escaping arbitrary shell commands. There is nothing wrong with (the factual content of) your statements. All I am saying here is that in this specific case, where we have definitive evidence (even if you do not wish to examine that evidence) that quotes are never present, that a simpler approach is sufficient.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912033]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2014-12-19 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (85 votes), past polls