User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Free Text Editor Page [1]  
Genki
All American
590 Posts
user info
edit post

Anybody know any freeware which have the option of stripping the first few lines of multiple files?

Thanks.

4/11/2006 4:48:51 PM

Shaggy
All American
17820 Posts
user info
edit post

find /N /V "@#$&@$(hh(DH(@*(9H(*@HE*!@h@d" <filename> |find /V "[1]" |find /V "[2]" |find /V "<filename>"

where <filename> is the file you want to strip the first 2 lines from

of course this assumes the file does not contain a line with @#$&@$(hh(DH(@*(9H(*@HE*!@h@d in it








[Edited on April 11, 2006 at 5:17 PM. Reason : durrr. just noticed this leaves the line numbers in there.]

4/11/2006 5:00:16 PM

smoothcrim
Universal Magnetic!
18955 Posts
user info
edit post

perl

4/11/2006 6:12:24 PM

cornbread
All American
2809 Posts
user info
edit post

searchandreplace is shareware and will only do about 5 files at a time but works good.

4/11/2006 6:38:48 PM

 Message Boards » Tech Talk » Free Text Editor Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.