Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
delete line from txt file if a colum is like!
Name: francky Date: June 16, 2009 at 01:15:39 Pacific OS: Windows XP Subcategory: Batch
Comment:
Hey! i have a txt file that contain a large numb of database! i need to delete the column that have a date less than 2006! can i create a batch file, that do this work!
Summary: if you have Python #!/usr/bin/env python for line in open("file"): if len(line.split())>=3: print line.strip() if you prefer awk awk 'NF>=3' file ...
Summary: I'm trying to read single lines from a text file and store each line in a variable so that I can use that variable to do something (such as COPY, RENAME, MOVE, etc). Here is the operation I want: 1) R...
Summary: Hello, Can anyone help with a BAT file which will open a txt file and delete the first four lines and the last five lines. The text file has a header and footer which needs to be removed: -----BEGIN...