aki-gsub

aki-gsub is the substitude text program.

Features

aki-gsub is the substitude text by regex.

command: `aki-gsub` -H

Quick install

  1. you can install this into cargo bin path:

cargo install aki-gsub

  1. you can build debian package:

cargo deb

and install .deb into your local repository of debian package.

Examples

command line: cat text-file | aki-gsub -e "^name: *(.*)$" -f "\$1"

command line: text echo "abcabca" | aki-gsub -e "a(b)c" -f "*\$1*"

result output: text *b**b*a