Jump to content

Recommended Posts

Posted

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

  • Thanks 1
  • 2 weeks later...
Posted
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!
Posted

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

  • Thanks 1
Posted (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. :thumb:

 

Edit: Now confirmed: Working at stations where it did not previously work. Thanks.

Edited by 6Foot2
Add detail to the post.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...