perl -pe 's/(.*\\$target\\)[^\\]*\\(LATEST)/$1$2/;' yourfile
-sauoq
"My two cents aren't worth a dime.";
| [reply] [d/l] |
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...
| [reply] |
It's hard to know how to answer when you haven't posted any code. I'm not sure what you have tried, so I don't know what advice to give. But that seems to be the way with most of your posts, so I guess this time won't be any different.
Please show that you have put some effort into trying to resolve your problem and someone will answer you. And from now on, I am going to downvote anyone who posts a correct, useful response to these sorts of messages that show absolutely no effort on behalf of the poster, over and above getting it to look nice in the preview window. (And I urge others to do likewise).
We are not going to do your work for you.
print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u' | [reply] |