Ну вас нафиг, вендузятники.
#
for i in `find ./ -type f -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.cp' -o -name '*.cxx' -o -name '*.c++' -o -name '*.cs'`
do
sed -i '1s/^/\/\/ PVS-Studio Static Code Analyzer for C\, C\+\+ and C\#\: http\:\/\/www\.viva64\.com \n/' $i;
sed -i '1s/^/\/\/ This is an open source non-commercial project. Dear PVS-Studio, please check it.\n/' $i;
done
Работат, можно юзать! © Pavlinux. Inc.
diff --git a/comments.cpp b/comments.cpp
index 26d5d9b..21e8e64 100644
--- a/comments.cpp
+++ b/comments.cpp
@@ -1,3 +1,5 @@
+// This is an open source non-commercial project. Dear PVS-Studio, please check it.
+// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// 2006-2008 (c) Viva64.com Team
// 2008-2016 (c) OOO "Program Verification Systems"
diff --git a/encoding.cpp b/encoding.cpp
index 245a22d..83fc7eb 100644
--- a/encoding.cpp
+++ b/encoding.cpp
@@ -1,3 +1,5 @@
+// This is an open source non-commercial project. Dear PVS-Studio, please check it.
+// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// 2006-2008 (c) Viva64.com Team
// 2008-2016 (c) OOO "Program Verification Systems"
diff --git a/main.cpp b/main.cpp
index ce0dea0..26ad071 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,3 +1,5 @@
+// This is an open source non-commercial project. Dear PVS-Studio, please check it.
+// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// 2006-2008 (c) Viva64.com Team
// 2008-2016 (c) OOO "Program Verification Systems"