I have a directory with many text files.
Out of these files, I am interested in a word "abcdefghi". I need to list all possible cases of this word such as
and all other possible combinations.
It is possible with
I know, I can write a shell script with combos of grep and inverse grep, unique and achieve the outputs, but I am looking for portable solution.