|Mirko Di ecf7bac44b|
nUMBER cONvERtER (ncvt)
Copyright (C) 2022-2023 mirk0dex <mirkodi.eu>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
ncvt is a nUMBER cONvERtER that converts numbers from one base to another.
- a computer,
- any UNIX-like OS.
Clone the repo,
cd into its directory, compile and copy to
and you're good to go!
If you're in a terminal emulator, run:
git clone https://git.mirkodi.eu/mirk0dex/ncvt # clone the repository cd ncvt # cd into its dir chmod +x ./install.sh # make install.sh executable ./install.sh # this MUST be run in a terminal # run install.sh
Just use the Makefile.
ncvt <number to convert> <initial base> <target base>
Max. base is 127 (because any bigger base would exceed the amount of available characters in ASCII).