Giter VIP home page Giter VIP logo

tscd's Introduction

TSCD Hex Dump

Introducing tscd: A Hex Dump For 256-bit ASCII Color-Supporting Terminal Emulators

alt text

SUPPORTED TERMINAL EMULATORS

For 256-bit ASCII Color-Supporting Terminal Emulators

e.g.: xterm-256

Download Instructions

Command Line Instructions:

Step 1

aria2c https://raw.githubusercontent.com/tanveerasalim/TSCD/master/src/tscd6.c

Step 2

gcc tscd6.c -o tscd

mv tscd /usr/local/bin

Step 3 (Optional)

SHA CHECKSUMS (text file of SHA1, SHA256, and SHA512 checksums in shasums.txt):

alt text

Manual

NAME

tscd

SYNOPSIS

tscd [options] [infile [outfile]]

DESCRIPTION

tscd can create a hexadecimal, decimal, binary, or octal dump of any file. The numerical values will be displayed in a table.To the rightmost of each row will be the ASCII characters corresponding to the ASCII codes in the table.

COLOR ENCODINGS

Below is the Color Encoding Scheme (ASCII):

alt text

OPTIONS

-b Binary dump specified. Each character in file will be translated into its binary number form and displayed in the table.

-c Specify number of columns per row in ASCII code table.

-d Decimal Dump specified. Each character in file will be translated into its binary number form and displayed in the table.

-o Octal Dump specified. Each character in file will be translated into its octal number form and displayed in the table.

-p Print view specified. tscd will simply print the contents of the file directly intointo stdout.

EXAMPLES

Print simple hexdump of a file to stdout

alt text

Print simple hexdump of a file where 16 ASCII hexadecimal codes are printed per row to stdout

alt text

Print binary dump of a file named tscd4.c to stdout

alt text

Print binary dump of a file named swiss.txt where up to four binary octects appear per row, to stdout

alt text

Print binary dump of a file named swiss.txt to a separate file named swiss_binary_dump.txt

Step 1:

alt text

Step 2:

(The file below is being viewed in vim. No color codes can be encoded into a text file.)

alt text

CONTACT ME

All questions, comments, compliments, complaints, criticism, and hate mail can be sent to: [email protected]

LICENSE STATEMENT AND COPYLEFT PERMISSIONS

NOTICE: All the software in this repository

comes with absolutely

NO WARRANTY and provided "as is" basis.

Copyright (C) Tanveer Salim 2018-INFINITY

This software and all other software in this

repository is distributed with a GNU GPL

License v2.0. All are free to copy, share,

distribute, and/or modify this software,

even commercially as long as it compliant

with GNU GPL v2.0 LICENSING terms as well

as the terms of this copyright and license

statement.

All software that was inspired

or is a derivative of this work must have

the exact same LICENSE and copyright permissions.

tscd's People

Contributors

fosres avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.