Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- vim -X -u NONE -c ':1 | /abc' -c '/xyz' -c '/123' -c 'normal! $vT y' -c ':redir! >> input.txt | silent! echo @0 | redir END | :q!' output.txt
- vim -X -u NONE -c ':redir! >> output.txt | silent! echon "\n" | redir END | :q!
Add Comment
Please, Sign In to add comment