Skip to content

A Handy toolkit containing Cross-platform command line tools for bash/shell/terminal users

License

Notifications You must be signed in to change notification settings

tarunKoyalwar/bninja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bninja

bninja is a collection of cross-platform command line tools with some extra features(clipboard support) and defaults to improve experience of bash/shell/terminal users.

Everything is written in Golang hence it can run in Linux,Windows and MacOS.

All tools are subcommands of bninja command. These tools are -

The Obvious advantage is that all these commands can read and write from clipboard & files .Other advantages include less options and default behaviour such as trim spaces from each line.

Some Commands have extra features than there counterpart UNIX Commands.

For Example-

  1. Cut

Same as GNU cut but delimeter can be more than 1 characters . Skip lines that does not contain delimeter using (--skip) option.

  1. hcut

Similar to GNU cut but cut data horizantally i.e cut entire document based on delimeter and print rows based on user input.

  1. diff

Compare two files and get unique lines that are common or belongs to a particular file.

  1. uniq

Get unique lines from input . By default trims extra spaces on each line . (GNU uniq only detects duplicates only if they are adjacent)

  1. replace

An Alternative to sed but less of an eyesore. Match and replace strings (NO Syntax, uses options instead of subcommands like /s or /g) . options are similar to replace functions in go or python.

Installation

  • Make Sure you have go installed properly or install go

  • Install Using go

go install github.com/tarunKoyalwar/bninja/cmd/bninja@latest

If you loved this tool . Star / Watch this repo to show support and to not miss any feature updates.

Support

If you like bninja and want to see it improve furthur or want me to create other interesting projects , You can buy me a coffee

ko-fi

About

A Handy toolkit containing Cross-platform command line tools for bash/shell/terminal users

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages