alebcay / awesome-shell

A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.
Creative Commons Zero v1.0 Universal
32.39k stars 2.36k forks source link

add "moreutils" packages such as ts; combine; pee; vidir; and vipe #431

Open yuis-ice opened 3 years ago

yuis-ice commented 3 years ago

I'm curious why in the list there is no package that is listed on the "moreutils" package (except "parallel"). Is there a reason particularly?

They all are great command lines tools. But personally I would suggest these amazing commands:

ts: timestamp standard input

e.g. for i in {1..5}; do echo y$i; sleep 1; done | ts '%FT%T'

combine: combine the lines in two files using boolean operations

e.g. combine file01.txt and file02.txt

pee: tee standard input to pipes

e.g. echo hoge | pee cat cat cat

vipe: insert a text editor into a pipe

e.g. echo hoge | vipe | cat