in reply to how to remplace a names in a file by keys with hash

Crossposted to StackOverflow. Crossposting is ok, but it is considered polite to inform about it so that efforts are not duplicated.

Also, in your StackOverflow post you show the numbers in the input data as ">;1;". Which is it?