Mr.X Posted August 18, 2005 Posted August 18, 2005 Hi ! Does any1 know how to delete in mass a lot of lines (from line number to line number [blocks]) into numerous files in the same path at the same time ? I know Perl could do it, but if it exists another mean (easier) under Win XP. Thx
Robert Posted August 20, 2005 Posted August 20, 2005 can you explain a bit more clearly what you mean?
Mr.X Posted August 20, 2005 Author Posted August 20, 2005 Delete all the lines except the headers into 1822 text files *.txt. The headers 're the 8 first lines, I want to keep them & delete the rest.
Madman Posted August 20, 2005 Posted August 20, 2005 (edited) Delete all the lines except the headers into 1822 text files *.txt. The headers 're the 8 first lines, I want to keep them & delete the rest.<{POST_SNAPBACK}> That can be done quite easily in VB.NET and/or PHP. Just open the file, and fputs each line into a new file. Edited August 20, 2005 by Madman
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now