summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-19 21:40:50 +0800
committerlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-19 21:40:50 +0800
commit1ebb3c9a6bc4ac3942f1e1ed9ce47d9178f65d1c (patch)
treece186913fd847018a160aac5962c8666ca2fe6d8 /util
parentf082cdc9a02b4aa5699d9bf0555729c03a689313 (diff)
downloadpttbbs-1ebb3c9a6bc4ac3942f1e1ed9ce47d9178f65d1c.tar
pttbbs-1ebb3c9a6bc4ac3942f1e1ed9ce47d9178f65d1c.tar.gz
pttbbs-1ebb3c9a6bc4ac3942f1e1ed9ce47d9178f65d1c.tar.bz2
pttbbs-1ebb3c9a6bc4ac3942f1e1ed9ce47d9178f65d1c.tar.lz
pttbbs-1ebb3c9a6bc4ac3942f1e1ed9ce47d9178f65d1c.tar.xz
pttbbs-1ebb3c9a6bc4ac3942f1e1ed9ce47d9178f65d1c.tar.zst
pttbbs-1ebb3c9a6bc4ac3942f1e1ed9ce47d9178f65d1c.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@330 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/BM_money.c8
-rw-r--r--util/inndBM.c2
-rw-r--r--util/jungo.c4
-rw-r--r--util/mandex.c6
-rw-r--r--util/smtest.c32
-rw-r--r--util/toplazyBBM.c8
-rw-r--r--util/toplazyBM.c10
-rw-r--r--util/webgrep.c4
8 files changed, 37 insertions, 37 deletions
diff --git a/util/BM_money.c b/util/BM_money.c
index 0c1b029f..db7b1538 100644
--- a/util/BM_money.c
+++ b/util/BM_money.c
@@ -1,6 +1,6 @@
-/* $Id: BM_money.c,v 1.4 2002/06/06 21:34:14 in2 Exp $ */
+/* $Id: BM_money.c,v 1.5 2002/06/19 13:38:01 lwms Exp $ */
-/* 給版主錢的程式 */
+/* 給板主錢的程式 */
#include "bbs.h"
@@ -42,7 +42,7 @@ int main() {
fgets(buf, 200, fp); /* 第一行拿掉 */
printf(
- " \033[1;44m 獎勵優良版主 每週花薪 依精華區排名分配 \033[m\n\n"
+ " \033[1;44m 獎勵優良板主 每週花薪 依精華區排名分配 \033[m\n\n"
"\033[33m (排名太後面或幾乎沒有精華區者不列入)\033[m\n"
" ─────────────────────────────────────\n"
"\n\n");
@@ -94,7 +94,7 @@ int main() {
strcpy(mymail.owner, "[薪水袋]");
sprintf(mymail.title,
- "\033[32m %s \033[m版的薪水 $\033[33m%d\033![m", bptr->brdname, FUNCTION / nBM);
+ "\033[32m %s \033[m板的薪水 $\033[33m%d\033![m", bptr->brdname, FUNCTION / nBM);
unlink(genbuf);
Link(BBSHOME "/etc/BM_money", genbuf);
sprintf(genbuf, BBSHOME "/home/%c/%s/.DIR", ch[0], ch);
diff --git a/util/inndBM.c b/util/inndBM.c
index 1e0fa6ad..70f944fd 100644
--- a/util/inndBM.c
+++ b/util/inndBM.c
@@ -168,7 +168,7 @@ int main()
chmod(INND_SCRIPT,0700);
}
- // 重設轉信與不轉信版標記
+ // 重設轉信與不轉信板標記
for(i=0;i<numboards;i++)
{
if(bcache[i].brdname[0]=='\0' ||
diff --git a/util/jungo.c b/util/jungo.c
index 17a01a10..6221023b 100644
--- a/util/jungo.c
+++ b/util/jungo.c
@@ -1,4 +1,4 @@
-/* $Id: jungo.c,v 1.4 2002/06/06 21:34:14 in2 Exp $ */
+/* $Id: jungo.c,v 1.5 2002/06/19 13:38:01 lwms Exp $ */
#include "bbs.h"
#define OUTFILE BBSHOME "/etc/toplazyBBM"
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
index++;
} while((p=strtok(NULL,"/ "))!=NULL);
- //從版主名單拿掉名字
+ //從板主名單拿掉名字
if(flag == 1){
bmbuf[0] = '\0';
diff --git a/util/mandex.c b/util/mandex.c
index 3eb6c05a..545ca373 100644
--- a/util/mandex.c
+++ b/util/mandex.c
@@ -1,4 +1,4 @@
-/* $Id: mandex.c,v 1.6 2002/06/16 22:21:12 ptt Exp $ */
+/* $Id: mandex.c,v 1.7 2002/06/19 13:38:01 lwms Exp $ */
/* 'mandex -h' to help */
@@ -270,8 +270,8 @@ int main(int argc, char* argv[])
if (!(fndx = fopen(BBSHOME "/etc/topboardman", "w")))
exit(0);
- fprintf(fndx, "排名 看 版 目錄數 檔案數"
- " byte數  總 分 版 主 \n");
+ fprintf(fndx, "排名 看 板 目錄數 檔案數"
+ " byte數  總 分 板 主 \n");
for (ch = 0; ch < nb; ch++){
for (n = 0; n < numboards; n++){
diff --git a/util/smtest.c b/util/smtest.c
index f211cb3a..e46157f2 100644
--- a/util/smtest.c
+++ b/util/smtest.c
@@ -1,4 +1,4 @@
-/* $Id: smtest.c,v 1.4 2002/06/06 21:34:14 in2 Exp $ */
+/* $Id: smtest.c,v 1.5 2002/06/19 13:38:01 lwms Exp $ */
#include "bbs.h"
#define WARNFILE BBSHOME "/etc/DeleteBoard.warn"
@@ -83,11 +83,11 @@ void mailtouser(char *bmname, char *bname, int zf)
strcpy(mymail.owner, "[PTT警察局]");
if(zf == 0){
- sprintf(mymail.title,"\033[32m [廢版警告通知]"
- "\033[m %s版(BM:%s)",bname, bmname);
+ sprintf(mymail.title,"\033[32m [廢板警告通知]"
+ "\033[m %s板(BM:%s)",bname, bmname);
}else{
- sprintf(mymail.title,"\033[32m [廢版通知] "
- "\033[m %s版(BM:%s)",bname, bmname);
+ sprintf(mymail.title,"\033[32m [廢板通知] "
+ "\033[m %s板(BM:%s)",bname, bmname);
}
unlink(genbuf);
if(zf == 0){
@@ -135,14 +135,14 @@ int main()
}
////// fprint table title /////
- fprintf(inf,"\n[廢版警告]即日起一個月內若看板"
+ fprintf(inf,"\n[廢板警告]即日起一個月內若看板"
"使用率仍然過低,則予以廢除。\n\n"
- "英文版名 類別 中文版名 日期 "
- " 版主名單\n\n");
+ "英文板名 類別 中文板名 日期 "
+ " 板主名單\n\n");
- fprintf(def,"\n[廢版公告]下列看板因使用率仍然過低,故予以廢除。\n\n"
- "英文版名 類別 中文版名 日期 "
- " 版主名單\n\n");
+ fprintf(def,"\n[廢板公告]下列看板因使用率仍然過低,故予以廢除。\n\n"
+ "英文板名 類別 中文板名 日期 "
+ " 板主名單\n\n");
////// start process /////
j = 0 ;
@@ -193,7 +193,7 @@ int main()
IDLEN - 5, IDLEN-5,hdr.date, IDLEN * 3, IDLEN * 3, allbrd[i].BM);
/* post warn file to each board */
- sprintf(genbuf,"~/bin/post %s [廢版警告通知]"
+ sprintf(genbuf,"~/bin/post %s [廢板警告通知]"
" [PTT警察局] %s",allbrd[i].brdname,WARNFILE);
system(genbuf);
@@ -245,18 +245,18 @@ int main()
/* post to Record, ViolateLaw */
if(warncount > 0){
- sprintf(genbuf,"~/bin/post Record [廢版警告通知]"
+ sprintf(genbuf,"~/bin/post Record [廢板警告通知]"
" [PTT警察局] %s",WARNLIST);
system(genbuf);
- sprintf(genbuf,"~/bin/post ViolateLaw [廢版警告通知]"
+ sprintf(genbuf,"~/bin/post ViolateLaw [廢板警告通知]"
" [PTT警察局] %s",WARNLIST);
system(genbuf);
}
if(execcount > 0){
- sprintf(genbuf,"~/bin/post Record [廢版公告]"
+ sprintf(genbuf,"~/bin/post Record [廢板公告]"
" [PTT警察局] %s",EXECLIST);
system(genbuf);
- sprintf(genbuf,"~/bin/post ViolateLaw [廢版公告]"
+ sprintf(genbuf,"~/bin/post ViolateLaw [廢板公告]"
" [PTT警察局] %s",EXECLIST);
system(genbuf);
}
diff --git a/util/toplazyBBM.c b/util/toplazyBBM.c
index 90f6ee2c..076e6cc0 100644
--- a/util/toplazyBBM.c
+++ b/util/toplazyBBM.c
@@ -1,4 +1,4 @@
-/* $Id: toplazyBBM.c,v 1.4 2002/06/06 21:34:14 in2 Exp $ */
+/* $Id: toplazyBBM.c,v 1.5 2002/06/19 13:38:01 lwms Exp $ */
#include "bbs.h"
#define OUTFILE BBSHOME "/etc/toplazyBBM"
@@ -67,14 +67,14 @@ int main(int argc, char *argv[])
exit(1);
}
- fprintf(inf, "警告: 版主若於兩個月未上站,將予於免職\n");
+ fprintf(inf, "警告: 板主若於兩個月未上站,將予於免職\n");
fprintf(inf,
"看板名稱 "
" 板主 幾天沒來啦\n"
"---------------------------------------------------"
"-------------------\n");
- fprintf(firef, "免職版主\n");
+ fprintf(firef, "免職板主\n");
fprintf(firef,
"看板名稱 "
" 板主 幾天沒來啦\n"
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
index++;
} while((p=strtok(NULL,"/ "))!=NULL);
- //從版主名單拿掉名字
+ //從板主名單拿掉名字
if(flag == 1){
bmbuf[0] = '\0';
diff --git a/util/toplazyBM.c b/util/toplazyBM.c
index 3494eb07..a2a34b94 100644
--- a/util/toplazyBM.c
+++ b/util/toplazyBM.c
@@ -1,4 +1,4 @@
-/* $Id: toplazyBM.c,v 1.4 2002/06/06 21:34:14 in2 Exp $ */
+/* $Id: toplazyBM.c,v 1.5 2002/06/19 13:38:01 lwms Exp $ */
#include "bbs.h"
@@ -68,14 +68,14 @@ int main(int argc, char *argv[])
exit(1);
}
- fprintf(inf, "警告: 版主若於兩個月未上站,將予於免職\n");
+ fprintf(inf, "警告: 板主若於兩個月未上站,將予於免職\n");
fprintf(inf,
"看板名稱 "
" 板主 幾天沒來啦\n"
"---------------------------------------------------"
"-------------------\n");
- fprintf(firef, "免職版主\n");
+ fprintf(firef, "免職板主\n");
fprintf(firef,
"看板名稱 "
" 板主 幾天沒來啦\n"
@@ -178,10 +178,10 @@ int main(int argc, char *argv[])
if(lostdays <= 60){
sprintf(mymail.title,
- "\033[32m [版主免職警告通知] \033[m %s BM %s", lostbms[i].title, lostbms[i].bmname);
+ "\033[32m [板主免職警告通知] \033[m %s BM %s", lostbms[i].title, lostbms[i].bmname);
}else{
sprintf(mymail.title,
- "\033[32m [版主免職通知] \033[m %s BM %s", lostbms[i].title, lostbms[i].bmname);
+ "\033[32m [板主免職通知] \033[m %s BM %s", lostbms[i].title, lostbms[i].bmname);
}
unlink(genbuf);
if(lostdays <= 60){
diff --git a/util/webgrep.c b/util/webgrep.c
index 07089bb6..d3d7304f 100644
--- a/util/webgrep.c
+++ b/util/webgrep.c
@@ -1,4 +1,4 @@
-/* $Id: webgrep.c,v 1.1 2002/03/07 15:13:46 in2 Exp $ */
+/* $Id: webgrep.c,v 1.2 2002/06/19 13:38:01 lwms Exp $ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -15,7 +15,7 @@ int main()
buf = genbuf;
if (!strncmp(genbuf, "lynx: Can't access", 18))
{
- printf("氣象報導小姐休假中,請到Record版翻過去資料.");
+ printf("氣象報導小姐休假中,請到Record板翻過去資料.");
break;
}
for (ansi = 0; *str; str++)