teip
teip copied to clipboard
Masking tape to help commands "do one thing well"
See https://github.com/greymd/teip/wiki/Memory-Usage-Benchmark `-e` requires approx 3 times as much memory as the standard input. It can be reduced more. Let me note my brief idea. One of the reasons why...
Example ``` $ cat file.csv "AAA","BBB,CCC",DDD $ cat file.csv | teip --csv -f 2 "AAA","[BBB,CCC]",DDD $ cat file.csv | teip --csv-ex -f 2 "AAA",["BBB,CCC"],DDD ``` ``` $ cat file2.csv |...
Executable files for non-x64 architectures can be prepared since `teip` can be built without Oniguruma.
どこかにCheatsheetかcookbookがありませんか? ぜひ使いたいです。 sed awkにできてteipにできない事はありますか?
structopt seems support generating completion files for bash/zsh. It can be generated in CI. https://github.com/greymd/teip/pull/22#issuecomment-670999837
日本語ですみません! すごいいいツールですね!個人マシンに早速入れさせてもらいました! 使ってて欲しいなと思った機能として、フィールドをコマンドにわたす際に標準入力ではなく `xargs -I@`みたいな形でフィールドを渡せたら便利そうだなぁと思いました。 ```bash $ # syslogの日付をdateに渡して変換する例 $ head syslog Jun 27 15:25:01 BS-PUB-DEVELOP CRON[6002]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Jun 27...
echo ABCDE | teip -c '1,3,$-1' => [A]B[C][D]E `$-1` supposed to be 4, because `$` means the number of field. Instead of `-`, `..` is used for specifying the range....
Because https://github.com/rust-onig/rust-onig does not publish new releases on crates.io. We have to avoid build error by explicitly specifing revision here https://github.com/greymd/teip/commit/82779d5b7900c74dde5115615f1c277c93c9e36e
This bug is created from a dependabot alert  Following crates are using `atty` internally. - env_logger 0.7.1 - structopt v0.3.26 - criterion v0.3.6 ```...
Hi, nice work I'd like to use tape as xin. https://github.com/mike-douglas/xin I tried: seq 10 | teip -- 'wc -l' Which I though would have that effect but instead showed...