Is it possible to make Vim do something like a pipe filter?
習慣沉默
習慣沉默 2017-05-16 16:40:31
0
1
399

What I want to achieve is

ls | vim - | xargs /bin/rm  

ls runs and sends the content to vim, which can be edited at will. Finally, when exiting vim, it prints the formatted standard input to the output, so that the pipeline can continue.

Can this be achieved?

習慣沉默
習慣沉默

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!