Removes every instance of characters or complete string in a string from a string.
remChar - remove a string or list characters from a string
remChar chars_to_be_removed | [-s string_to_be_removed] string | [-f file] [-o file]
-f file: file containing text to be modified
-o file: output file
-s string: string to be completely removed
$ remChar l hello
heo
OR
$ remChar hl "hello world"
eo word
OR
$ remChar " " "hello world"
helloworld
OR
$ cat input.txt
hello world
$ remChar "h l" -f input.txt
eoword
OR
$ cat input.txt
hello world
$ remChar "h l" -f input.txt -o output.txt
$ cat output.txt
eoword
OR
$ remChar -s "hello" "hello world"
world
$ mkdir build/
$ cd build/
$ cmake ..
$ make # to build project locally
$ sudo make install # to build and install the project