Tuesday, November 20, 2007


Sometimes it's helpful to filter your current editing session through an external command. Vim makes this easy to accomplish with the following ex command, :%!command. To filter a file containing strictly numbers through the Unix sort command using numerical comparison, you would :%!sort -u

1 comment:

Hsiao-Ting said...

I benefit from your blogger.