Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexprengere/injector

This tool converts positional data to delimited data.
https://github.com/alexprengere/injector

Last synced: about 1 month ago
JSON representation

This tool converts positional data to delimited data.

Awesome Lists containing this project

README

        

========
Injector
========

This tool converts positional data to delimited data.

Installation
------------

You may install the tool using:

.. code-block:: bash

$ python setup install --user

Example
-------

How to use:

.. code-block:: bash

$ cat example.pos
key1 name1 address1phone1
key2 name_2 address2phone__2

$ head example.pos | inject - -i 7 15 23
key1 ^name1 ^address1^phone1
key2 ^name_2 ^address2^phone__2

$ head example.pos | inject - -i 7 15 23 -n
key1^name1^address1^phone1
key2^name_2^address2^phone__2

$ head example.pos | inject - -i 7 15 23 -n | inject - -r -i 7 15 23
key1 name1 address1phone1
key2 name_2 address2phone__2