bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

troubles &


From: leopoldo tosi
Subject: troubles &
Date: Tue, 11 Nov 2008 16:22:06 +0100

hi,
I 've got somes troubles with this code

echo daabaaaa | gawk "{ str = $1 ; sub( /a+/ , \"C&C\" , str ) ; print str }"
gawk: cmd. line:1: { str = $1 ; sub( /a+/ , "C
gawk: cmd. line:1:                          ^ unterminated string

and others uses of this character '&'.

I work with GNU Awk 3.1.3  of UnxUtils on xp sp2 con path:....
C:\Documents and Settings\danilo\Documenti\my_proces\UnxUtils\usr\local\bin;
C:\Documents and Settings\danilo\Documenti\my_proces\UnxUtils\usr\local\lib;

here an exaple it works :
echo daabaaaa | gawk "{ str = $1 ; sub( /a+/ , \"C*C\" , str ) ; print str }"

could you help me, please?
-- 

cordiali saluti,
                   leopoldo tosi
                   tel. 346 3173582




reply via email to

[Prev in Thread] Current Thread [Next in Thread]