LosOjos Posted August 19, 2010 Posted August 19, 2010 Hi both, sorry it's been an age since I logged in. I don't have the code on the machine I'm on at the moment, it's on my laptop at home, when I get home I'll tweak it so that it just returns the specified line when it detects that the file isn't a CSV/TSV. I'll post the new version up tomorrow for you 1
6Foot2 Posted August 19, 2010 Author Posted August 19, 2010 Thanks again with all of your help on this.
LosOjos Posted September 2, 2010 Posted September 2, 2010 Just a quick update: sorry to keep you waiting! Been a hectic couple of weeks for me personally so I haven't gotten round to this yet (taking on a second job is very tiring!) but I will get it sorted by the weekend. Sorry again to keep you waiting, just thought I'd post an update so you don't think I've forgotten about it!
6Foot2 Posted September 2, 2010 Author Posted September 2, 2010 That is good to hear. I wouldn't push this: You are helping and I look forward to having the solution. Thanks again.
LosOjos Posted September 6, 2010 Posted September 6, 2010 Finally got round to tweaking it for you! I strongly suggest you test it out first as I haven't had the time to, things are manic here right now, but it should now return the selected line from a file even if it was expecting columns, with a message posted to the command prompt to let you know that's what it has done. Any problems let me know and I'll do my best to solve them a lot quicker this time. GetLine.zip 1
6Foot2 Posted September 6, 2010 Author Posted September 6, 2010 (edited) Test result [running from command line] This is not a comma/tab seperated file, returning entire line instead. All good then. Thank you. I can now ask my users for their IP addresses again. Edit: Now confirmed: Working at stations where it did not previously work. Thanks. Edited September 6, 2010 by 6Foot2 Add detail to the post.
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