|
From: | Bauke Jan Douma |
Subject: | Re: gawk syntax error |
Date: | Thu, 30 Nov 2006 21:14:20 +0100 |
User-agent: | Thunderbird 1.5.0.8 (X11/20061025) |
Christophel, Roger wrote on 30-11-06 21:08:
Hi all,If I type the following command:gawk '/DESC/ {print "EHCO " $2 " \n" $0} file_1 file_2I get the following error:gawk: cmd. line:1: '/DESC/ gawk: cmd. line:1: ^ invalid char ''' in expression
I am by no means a gawk expert, but to me it would seem there is one missing here, isn't there? A single quote I mean, right before file_1. bjd
[Prev in Thread] | Current Thread | [Next in Thread] |