From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001
From: Joe Hunkeler <jhunkeler@gmail.com>
Date: Tue, 11 Aug 2015 16:51:37 -0400
Subject: Repatch (from linux) of OSX IRAF

---
 pkg/utilities/doc/bases.hlp | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 pkg/utilities/doc/bases.hlp

(limited to 'pkg/utilities/doc/bases.hlp')

diff --git a/pkg/utilities/doc/bases.hlp b/pkg/utilities/doc/bases.hlp
new file mode 100644
index 00000000..01f822ef
--- /dev/null
+++ b/pkg/utilities/doc/bases.hlp
@@ -0,0 +1,43 @@
+.help bases Jan85 utilities
+.ih
+NAME
+bases -- Convert an integer to hex, octal, and binary
+.ih
+USAGE
+bases i
+.ih
+PARAMETERS
+.ls i
+Integer for base conversion.
+.le
+.ls nbyte = 0
+Number of bytes of precision.  Allowed values are "0", "1", "2", or "4".
+.le
+.ls verbose = yes
+Print labels for columns?
+.le
+.ih
+DESCRIPTION
+The BASES task converts an input integer value to equivalent values in
+other base systems.
+.ih
+EXAMPLES
+1. Convert the number 256 (in various bases).  Note the 'x' and 'b' suffix
+appended to the value to change the input base value:
+
+.nf
+	ecl> bases 256					# decimal input
+	  dec    hex    octal   7654 3210 7654 3210
+	  256   0100x  000400b  0000 0001 0000 0000
+	ecl> bases 256x					# hex input
+	  dec    hex    octal   7654 3210 7654 3210
+	  598   0256x  001126b  0000 0010 0101 0110
+	ecl> bases 256b					# octal input
+	  dec  hex  oct   7654 3210
+	  174  AEx  256b  1010 1110
+
+.fi
+
+.ih
+SEE ALSO
+.endhelp
-- 
cgit 

