Re: Awk error

Charles Calvert <[email protected]> Fri, 23 Oct 2009 10:56:12 -0400
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
On 10/23/2009 10:31 AM, [email protected] wrote:
> I can't seem to get awk to work. Here is the command line I'm trying to use: 
> 
> svn ls -R | awk "print $1" 

Try:

	svn ls -R | awk "{print $1}"

The default rule must be enclosed in braces.

-- 
Charles


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference