On Fri, 12 Mar 2021, Aahna S. wrote:


but i want to find it as

find /home/aahna -iname "*.md" to find all the files

now if there is a match then the command should automatically open the .md file.


understood your issue better.

the problem has two parts

1. find all the text files matching a particular criteria
2. pipe the output to vi(m)

now the issue is that, matching file name when piped to vi(m) will lead to a 
garbled terminal and most likely a hung editor.

need to explore this a bit.

::Saifi

Reply via email to