add header about fenc and auhor into source files

This commit is contained in:
gwdwyy 2013-07-20 13:24:40 +08:00
parent 475ea15f87
commit 3e3b5083fa
8 changed files with 29 additions and 0 deletions

1
scripts/add_header.sh Executable file
View File

@ -0,0 +1 @@
sed -i '1i/************************************\n * file enc : utf8\n * author : wuyanyi09@gmail.com\n************************************/' ../src/*.h ../src/*.cpp ../src/*.tcc

View File

@ -1,3 +1,7 @@
/************************************
* file enc : utf8
* author : wuyanyi09@gmail.com
************************************/
#include "KeyWordExt.h"

View File

@ -1,3 +1,7 @@
/************************************
* file enc : utf8
* author : wuyanyi09@gmail.com
************************************/
#ifndef CPPJIEBA_KEYWORDEXT_H
#define CPPJIEBA_KEYWORDEXT_H

View File

@ -1,3 +1,7 @@
/************************************
* file enc : utf8
* author : wuyanyi09@gmail.com
************************************/
#include "Segment.h"
namespace CppJieba

View File

@ -1,3 +1,7 @@
/************************************
* file enc : utf8
* author : wuyanyi09@gmail.com
************************************/
#ifndef CPPJIEBA_SEGMENT_H
#define CPPJIEBA_SEGMENT_H

View File

@ -1,3 +1,7 @@
/************************************
* file enc : utf8
* author : wuyanyi09@gmail.com
************************************/
/*
* file encoding: utf-8
* author: wuyanyi09@gmail.com

View File

@ -1,3 +1,7 @@
/************************************
* file enc : utf8
* author : wuyanyi09@gmail.com
************************************/
/*
* file encoding: utf-8
* author: wuyanyi09@gmail.com

View File

@ -1,3 +1,7 @@
/************************************
* file enc : utf8
* author : wuyanyi09@gmail.com
************************************/
#ifndef CPPJIEBA_GLOBALS_H
#define CPPJIEBA_GLOBALS_H