Sample Header Ad - 728x90

arbitrary base conversion from base 10 using only builtins in bash

0 votes
3 answers
728 views
I'm trying to sort out a bash command to convert a number from base 10 to an arbitrary base, using a specified set of characters (for example, to base 26 using letters a-z, although that's not actually my use-case). I *have* solved this problem before, but not in bash (which I have limited experience in), and not in quite some time. Any ideas?
Asked by Hate9 (21 rep)
Jun 27, 2023, 01:40 PM
Last activity: Jan 31, 2024, 02:31 PM