using !sort in windows commandline: passing special characters

2013-07-21 Thread rameo
I use cygwin on my windows system to use unix commands from vim commandline. This is written in my text file: Adam|12345 Bob|34567 Joe|56789 Sam|45678 Wendy|23456 When I use: :%!sort -k2n -t'|' it gives an error: ''' is not recognized as an internal or external command, operable program or ba

Re: using !sort in windows commandline: passing special characters

2013-07-21 Thread Tim Chase
On 2013-07-21 11:13, rameo wrote: > I use cygwin on my windows system to use unix commands from vim > commandline. > > This is written in my text file: > Adam|12345 > Bob|34567 > Joe|56789 > Sam|45678 > Wendy|23456 > > When I use: > > :%!sort -k2n -t'|' > > it gives an error: > ''' is not reco

Re: using !sort in windows commandline: passing special characters

2013-07-21 Thread Tim Chase
[copying the list, as your reply came directly to me. You may want to check your reply before sending] On 2013-07-21 22:29, Raimond Willemsen wrote: > Thank you very much for your reply Tim. > > > This sounds like cmd.exe is being used for your shell processing > > of your command, rather than s

Re: using !sort in windows commandline: passing special characters

2013-07-22 Thread rameo
On Monday, July 22, 2013 4:08:28 AM UTC+2, Tim Chase wrote: > [copying the list, as your reply came directly to me. You may want > > to check your reply before sending] > > > > On 2013-07-21 22:29, wrote: > > > Thank you very much for your reply Tim. > > > > > > > This sounds like cmd.exe