On 21 Mar 2021, at 08:39, samar <arnet...@bluewin.ch> wrote:

> The reason you cannot reproduce the error with your file may be that the 
> second column is limited to three different texts (B1, B2, and B3) whereas in 
> mine there are more (up to B7 here, but the script should also work with more 
> than seven):

The script works with all files that have tab-delimited values, whatever those 
values may be.  Your supposition is quite unfounded; the logic of the script is 
quite clear.

> A1    B1
> A1    B2
> A1    B3
> A1    B4
> A1    B5
...

but if you separate the values with spaces, as you have done here, then the 
file does not meet your own criteria.  As Christopher has remarked, while 
asking you to send your file, the script works with all valid files, and does 
the work not in eight seconds (!!) but in the twinkling of an eye.

If anybody can point out a real flaw in my script, I shall be happy to correct 
it.  If you will send me your file, I shall be glad to explain why you are 
having the problem.

JD




-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/B4793D64-D656-4A5C-A557-2BACED29814C%40gmail.com.

Reply via email to