Hello!
I need to do some content filtering on my output. Currently, I've got mod_sed to remove some xml nodes that I don't want going out. via:
OutputSed "/<nodeToRemove/d"
The final step is that the last line in the content contains a newline character \n, but I need to remove that.
How can I easily remove the trailing new line character at the end of the file?
Thanks!
-mark-