baseConv.1 (1140B)
1 .Dd February 20, 2020 2 .Dt BASECONV 1 3 .Os 4 .Sh NAME 5 .Nm d2h , 6 .Nm d2o , 7 .Nm d2b , 8 .Nm h2d , 9 .Nm h2o , 10 .Nm h2b , 11 .Nm o2d , 12 .Nm o2h , 13 .Nm o2b , 14 .Nm b2d , 15 .Nm b2h , 16 .Nm b2o 17 .Nd convert an integer between bases 18 .Sh SYNOPSIS 19 .Nm d2h 20 .Ar base10_integer 21 .Nm d2o 22 .Ar base10_integer 23 .Nm d2b 24 .Ar base10_integer 25 .Nm h2d 26 .Ar base16_integer 27 .Nm h2o 28 .Ar base16_integer 29 .Nm h2b 30 .Ar base16_integer 31 .Nm o2d 32 .Ar base8_integer 33 .Nm o2h 34 .Ar base8_integer 35 .Nm o2b 36 .Ar base8_integer 37 .Nm b2d 38 .Ar base2_integer 39 .Nm b2h 40 .Ar base2_integer 41 .Nm b2o 42 .Ar base2_integer 43 .Sh DESCRIPTION 44 .Nm 45 (and it's other aliases) convert an integer between bases. 46 The behaviour is different depending on which name it is invoked. 47 The binary names are ment to be nemonics, where the first letter is the base 48 from (one of decimal, hexadecimal, octal or binary) and the third character is 49 the base to. 50 .Pp 51 The options are as follows: 52 .Bl -tag -width Ds 53 .It Ar baseX_integer 54 The integer you want to convert from. 55 .El 56 .Sh EXIT STATUS 57 .Ex -std 58 .Sh AUTHORS 59 .An Paco Esteban 60 .Mt paco@e1e0.net 61 .Sh BUGS 62 Probably many. 63 If you find one and want to send a patch, please to so to: 64 .Mt patches@e1e0.net