Skip to content

Songmu/num

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuu

Build Status Coverage Status MIT License GoDoc

The num command displays the argument given in binary, octal, decimal or hexadecimal number in each base.

Synopsis

$ num 0xff
bin: 0b11111111
oct: 0o377
dec: 255
hex: 0xff

$ num 255
bin: 0b11111111
oct: 0o377
dec: 255
hex: 0xff

$ num 0b11111111
bin: 0b11111111
oct: 0o377
dec: 255
hex: 0xff

Description

Installation

% go get github.com/Songmu/num

Author

Songmu