I have a web app that I am developing at work. I need to be able to tak开发者_开发问答e input data and append a text file after (x) number of lines.