in reply to greping and comparing for \xxx\

I think this post had enough info and, more importantly, I don't believe in bullying people with threats of downvotes. I guess grinder or anyone who wants to can downvote me for trying to help. But is that what this online community is supposed to be about?

something like the following might help you get started.

perl -pe 's/(.*\\$target\\)[^\\]*\\(LATEST)/$1$2/;' yourfile
-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re: Re: greping and comparing for \xxx\
by Popcorn Dave (Abbot) on Jul 30, 2002 at 21:27 UTC
    Of course you're right, this is about helping others -- no question. However I do think that Grinder makes a good point in that without seeing at least some snippet of source code the person has written it makes it a lot more difficult to help.

    That said, if a person posts that they are stumped on a problem and need a nudge to get started, then that's a different story.

    I've had, what I perceiced, as negative responses to things I've posted, but I start with the assumption that the person is having or had a bad day and I got in the line of fire.

    If someone does want to argue Usenet is the perfect place to get in to a pissing match and the perl newsgroups are full of the RTFM crowd which, IMHO does nobody any good.

    That's what I love about here. You can get help for your code problems, but it does help to post some code.

    Some people fall from grace. I prefer a running start...

A reply falls below the community's threshold of quality. You may see it by logging in.