
gerble1000
User
Aug 10, 2012, 1:53 PM
Post #3 of 7
(2115 views)
|
|
Re: [Laurent_R] delete line of text from txt doc
[In reply to]
|
Can't Post
|
|
dont think that will work but here is another way of looking at it. i would need to remove every line in the file that ends with this exactly name,number,name,number,name,number,name,number,name,number,name,number,name,number,name,number,name,number,name,number and the username,password, will be in front of that string like so frank,mypassword,name,number,name,number,name,number,name,number,name,number,name,number,name,number,name,number,name,number,name,number they are login details and that is why i cannot show the entire file if the line contains names and numbers apart from the username and password then the line needs to be kept. i hope this explains it better. im thinking grep /name,number,name,number,name,number,name,number,name,number,name,number,name,number,name,number,name,number,name,number/ then remove line somehow. i am not clued up with the coding :)
|