remove empty awk pattern (//)
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 28 Oct 2009 20:50:52 +0000 (20:50 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 28 Oct 2009 20:50:52 +0000 (20:50 +0000)
Solaris 10 nawk doesn't lthe empty pattern ike '//' for 'always'.
Just remove that. No pattern at all always matches.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226453 65c4cc65-6c06-0410-ace0-fbb531ad65f3

build_tools/get_documentation

index 7849c52..3c0e498 100644 (file)
@@ -1,3 +1,3 @@
 /\/\*\*\* DOCUMENTATION/ {printit=1; next}
 /\*\*\*\// {if (printit) exit}
-// {if (printit) print}
+{if (printit) print}