Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^6: Find and replace MD5 hash from file

by ikegami (Patriarch)
on Jun 29, 2011 at 20:40 UTC ( [id://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

Replies are listed 'Best First'.
Re^7: Find and replace MD5 hash from file
by philipbailey (Curate) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://912033]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-19 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found