i know how pass pipes vim bash.... p.e.
this command works in bash shell:
$ sort -k2n -t'|' /cygdrive/d/test55.txt if open text file in vim , apply same command
:%!sort -k2n -t'|' it gives error:
''' not recognized internal or external command, operable program or batch file.
same problem regex. isn't possible pass regex vim bash?
p.e.
:%!sort -k3 -t'\a\{3,}' (sort after 3rd time word longer 3 characters)
or
:%!sort -k3 -t'[,;]' (sort after 3rd time ',' or ';' found)
1) how can pass pipes bash?
2) how can send regex bash?
Comments
Post a Comment