On Wed, 17 Aug 2016, Ralf Mattes wrote:
Am Mittwoch, 17. August 2016 07:37 CEST, "R.L. Horn"
<li...@eastcheap.org> schrieb:
On Sun, 14 Aug 2016, Ben Gonzales wrote:
I edited the patch file to change the "\" to "/" in the filenames.
Unfortunately I couldn't do a global search and replace as there are
other "\"s that are valid.
^^^^^^^
sed '/^diff/s/\\/\//g'
And why do you think this will leave cases like "...\n" untouched?
Did you read Ben's post?
Well, seeing as you asked so nicely, it only performs the substitutions on
lines beginning with "diff."
I concede that it's incomplete. It should probably be (assuming GNU sed):
sed -r '/^((---)|(\+\+\+)|(diff))/s/\\/\//g'
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev