Open HenrikBengtsson opened 2 months ago
I've made a bug fix to the new proc(edure) definitions, cf. commit 8ccc314. Here is a first proof of concept that these new functions exist:
$ $ tclsh <<< 'source src/base64.tcl; source src/sha1.tcl; source src/seguid.tcl; set ans [seguid "ACGT" "long"]; puts stdout $ans'
seguid=IQiZThf2zKn/I1KtqStlEdsHYDQ
which is the same checksum as:
$ ./seguid <<< "ACGT"
seguid=IQiZThf2zKn/I1KtqStlEdsHYDQ
The JavaScript, Python, and R APIs all have functions like
seguid()
,lsseguid()
,csseguid()
,ldseguid()
, andcdseguid()
. We should update the Tcl script to provide the same functions.