diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2002-11-21 15:50:30 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2002-11-21 15:50:30 +0000 |
commit | 5bdd072656777594c026d8c67256a8d844d982e9 (patch) | |
tree | 0f17a83facbbc8d17d18922a4503d208b12eeea8 /solenv/bin/getcsym.awk | |
parent | #100000# fixed bug with 2 deliver (diff) | |
download | core-5bdd072656777594c026d8c67256a8d844d982e9.tar.gz core-5bdd072656777594c026d8c67256a8d844d982e9.zip |
#105425# filter comments
Diffstat (limited to 'solenv/bin/getcsym.awk')
-rw-r--r-- | solenv/bin/getcsym.awk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/solenv/bin/getcsym.awk b/solenv/bin/getcsym.awk index 1a4fda84d51b..d7376cf712ba 100644 --- a/solenv/bin/getcsym.awk +++ b/solenv/bin/getcsym.awk @@ -2,9 +2,9 @@ # # $RCSfile: getcsym.awk,v $ # -# $Revision: 1.1 $ +# $Revision: 1.2 $ # -# last change: $Author: hjs $ $Date: 2001-04-27 12:46:32 $ +# last change: $Author: hjs $ $Date: 2002-11-21 16:50:30 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -60,6 +60,7 @@ # #************************************************************************* BEGIN { global_found = "false" } +/[ \t]*#/ { sub( substr( $0, index($0, "#")),"" ) } /[ \t]*local:/ { global_found = "false" } /^[ \t]*$/ { next } global_found == "true" { print $0 } |