Sunday, December 19, 2010

Re: cygwin startup time

> awk 'BEGIN{FS=OFS="|"}{print $1,$3}' c:/columns.txt
> awk: ^ invalid char ''' in expression

The error message seems badly formatted. At which column is the "^"
placed?

Anyway, the following characters could cause problems in that
expression: |, ", '
You should be able to solve the problem by properly escaping those
characters somehow.

I'd suspect the value of &shellxquote to be wrong. If you check :h
sxq, you'll see that it should include " if &shell is some sort of sh
derivate.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: