Bitcoin/address validation: Difference between revisions

m
→‎Unix shell: use correct metadata
m (→‎{{header|Tcl}}: Generalize the base58 decoder)
m (→‎Unix shell: use correct metadata)
Line 92:
</pre>
 
=={{header|UNIX Shell}}==
==Unix shell==
{{works with|bash}}
<lang bash>base58=({1..9} {A..H} {J..N} {P..Z} {a..k} {m..z})
bitcoinregex="^[$(printf "%s" "${base58[@]}")]{34}$"
Anonymous user