Re: Sort within VI with parameters
[email protected] Thu, 23 Jun 2011 15:13:55 -0500
| Newsgroups | gmane.org.user-groups.luni.tech |
|---|---|
| Message-ID | <[email protected]> |
>I can't figure out the proper incantation > ><esc>:%!sort -t| -k2,2 It looks like your field separator is getting interpreted as a shell pipe character. Try escaping it like so: <esc>:%!sort -t\| -k2,2 Or perhaps quoting it: <esc>:%!sort -t'|' -k2,2 Colin -- Linux Users Of Northern Illinois (Chicago) - Technical Discussion http://luni.org/mailman/listinfo/luni