From c9b18e51c596f633528f2263b7d1566e0c8d5548 Mon Sep 17 00:00:00 2001 From: crouzet Date: Tue, 25 Oct 2005 14:21:48 +0000 Subject: [PATCH] small update for usage in hxx2salome --- scripts/parse01.awk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/parse01.awk b/scripts/parse01.awk index 2906402..8bec017 100644 --- a/scripts/parse01.awk +++ b/scripts/parse01.awk @@ -1,5 +1,5 @@ -# This awk program deletes C like comments '*/ ... /*' - not yet used -awk '{ +# This awk program deletes C like comments '*/ ... /*' +{ if (t = index($0, "/*")) { if (t > 1) tmp = substr($0, 1, t - 1) @@ -17,4 +17,4 @@ awk '{ $0 = tmp } print $0 -}' +} -- 2.39.2