|
From: | Peng Yu |
Subject: | The rule of using '{}' (awk) |
Date: | Fri, 21 Aug 2009 10:25:44 -0500 |
Hi, I get the following syntax error. The error is fixed if I remove the out most '{}'. I am wondering what the rule is to use '{}' in awk., Regards, Peng $ awk '{!/#.*/ {print $1,$2,$3}}' data.txt awk: {!/#.*/ {print $1,$2,$3}} awk: ^ syntax error
[Prev in Thread] | Current Thread | [Next in Thread] |