<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/lineeditor/">
    <title>lineeditor @ ウィキ</title>
    <link>http://w.atwiki.jp/lineeditor/</link>
    <atom:link href="https://w.atwiki.jp/lineeditor/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>lineeditor @ ウィキ</description>

    <dc:language>ja</dc:language>
    <dc:date>2007-12-17T14:56:50+09:00</dc:date>
    <utime>1197871010</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/48.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/2.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/13.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/1.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/44.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/47.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/46.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/35.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/34.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/lineeditor/pages/45.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/48.html">
    <title>OS</title>
    <link>https://w.atwiki.jp/lineeditor/pages/48.html</link>
    <description>
          </description>
    <dc:date>2007-12-17T14:56:50+09:00</dc:date>
    <utime>1197871010</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/2.html">
    <title>メニュー</title>
    <link>https://w.atwiki.jp/lineeditor/pages/2.html</link>
    <description>
      メニュー
-[[トップページ]]
-[[メンバー]]
-[[仕様]]
-[[何でもアップロード]]
#treemenu(title = プログラム,[[基本プログラムソース]],[[行編集ソース　武井]],[[拡張プログラム3ソース　飯尾]],[[検索、置換、挿入修正プログラムソース　飯尾]],[[今更挿入修正　飯尾]])
#treemenu(title = プログラム分割ver.,[[Makefile]],[[main.c]],[[end.c]],[[display_all.c]],[[undo.c]],[[row_edit.c]],[[word_search.c]],[[word_replace.c]],[[help.c]],[[help.cその２]])
#treemenu(title = マニュアル,[[基本プログラムマニュアル]],[[行編集マニュアル　武井]],[[拡張プログラム3マニュアル　飯尾]],[[検索、置換、挿入修正プログラムマニュアル　飯尾]])
#treemenu(title = テスト,[[基本プログラム]],[[行編集　武井]],[[拡張プログラム3　飯尾]]]]) 
-[[色々]]
-[[リンク]]
-[[OS]]

----


-[[@ウィキ ガイド&gt;http://atwiki.jp/guide/]]
-[[@wiki 便利ツール &gt;http://atwiki.jp/tools/]]
-[[@wiki&gt;http://atwiki.jp]]

// リンクを張るには &quot;[&quot; 2つで文字列を括ります。
// &quot;&gt;&quot; の左側に文字、右側にURLを記述するとリンクになります


**更新履歴
#recent(20)    </description>
    <dc:date>2007-12-14T20:42:04+09:00</dc:date>
    <utime>1197632524</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/13.html">
    <title>トップページ/コメントログ</title>
    <link>https://w.atwiki.jp/lineeditor/pages/13.html</link>
    <description>
          </description>
    <dc:date>2007-09-21T20:39:33+09:00</dc:date>
    <utime>1190374773</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/1.html">
    <title>トップページ</title>
    <link>https://w.atwiki.jp/lineeditor/pages/1.html</link>
    <description>
      ＊lineeditor@wikiへようこそ
-グループ全員で仲良くプロ１の単位をGETするための課題1を制作するのが目的。
-絶対はないので、各々改良できそうなところがあるなら言っていこう。
-管理人wiki初めてなので、色々不具合なりなんなりあるので、文句は携帯、[[色々]]によろしく。
-文章の体裁を整えられるとGoodだが、内容の方を充実させよう。
-一応このページは、いたずらなどされても困るのでこのメンバーのみで使用したいと思います。
-メールで送られてきたパスワードを用いてログインすることで、新しいページの作成、既存ページの編集などをすることができます。

**お知らせ
-&amp;color(crimson,white){&amp;size(large){皆さんお疲れ様でした。}}

**各ページの説明
-[[メンバー]]　その名の通りメンバーを表示、のちに担当も書いていく。
-[[仕様]]　各自追加したい機能などを羅列していく。(武井・考え中)(武井・他人任せ中)など名前と現在の状況を書いておく。他の人とかぶって制作してもよい。その場合はメンバー全員の検討のうえ、どれかに決めたり合体させたりする。
-[[プログラム]]　実際に自分で動作したプログラムを載せる。基本プログラムは最終的に提出するプログラムになる。仕様から新たに制作したプログラムはメニューに追加したのちページを作成する。各々は他の人のプログラムが更新されたら、それを組み込んでみて動くかどうか確認したのちテストにて報告よろしく。ある程度動作確認が取れたら基本プログラムに追加する。
-[[マニュアル]]　作ったプログラムに関する、コマンドやアルゴリズムを簡単にでいいので書いておく。プログラムと同様にメニューに追加してページを作成してください。のちにマニュアルやら仕様書の制作に役立ちます。
-[[テスト]]　プログラムと同様に制作者が、テストページを制作してください。他の人は動かしてみたら各自のOSを明記の上、動作の正否を報告してください。本当は学校のマックでやるのが良いんですが、一々行くのが面倒なので(笑)
-[[色々]]　本当に何でもよいです。制作にまつわる愚痴やら、行き詰まったときにどうすれば良いか教えてもらう場合に使用したりしても結構です(誰にも答えられない場合もありますが）。あとこのwikiの不便な点も書いてもらうとありがたいです。
-[[リンク]]　便利だなと思ったサイトがあったら更新よろしく。

**コメント
#comment_num2(size=50,vsize=3)

＊＊まずはこちらをご覧ください。
-[[@wikiの基本操作&gt;http://atwiki.jp/guide/category2.html]]
-[[用途別のオススメ機能紹介&gt;http://atwiki.jp/guide/category22.html]]
-[[@wikiの設定/管理&gt;http://atwiki.jp/guide/category6.html]]

＊＊その他にもいろいろな機能満載！！
-[[@wikiプラグイン&gt;http://atwiki.jp/guide/category17.html]]
-[[@wiki便利ツール&gt;http://atwiki.jp/guide/category32.html]]
-[[@wiki構文&gt;http://atwiki.jp/guide/category16.html]]

＊＊バグ・不具合を見つけたら？
お手数ですが、こちらからご連絡宜しくお願いいたします。
⇒http://atwiki.jp/guide/contact.html


＊＊分からないことは？
-[[@wiki ご利用ガイド&gt;http://atwiki.jp/guide/]]
-[[よくある質問&gt;http://atwiki.jp/guide/category1.html]]
-[[@wikiへお問い合わせ&gt;http://atwiki.jp/guide/contact.html]]
等をご活用ください    </description>
    <dc:date>2007-08-03T18:18:36+09:00</dc:date>
    <utime>1186132716</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/44.html">
    <title>何でもアップロード</title>
    <link>https://w.atwiki.jp/lineeditor/pages/44.html</link>
    <description>
          </description>
    <dc:date>2007-08-03T01:18:02+09:00</dc:date>
    <utime>1186071482</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/47.html">
    <title>今更挿入修正　飯尾</title>
    <link>https://w.atwiki.jp/lineeditor/pages/47.html</link>
    <description>
      //c

//行挿入
void line_insert(char *txtname)
{
 
//ほぼ行削除と同じ構造
 
	int i , j ;
	FILE *shadow;
	char c = 1, line[10], str[LINE_SIZE], shadow_name[L_tmpnam] ;
 
	tmpnam(shadow_name);
 
	printf(&quot;挿入したい行番号を入力して下さい\n&quot;);
	fgets(line,9,stdin);	//挿入したい行を入力してもらう。

	if( atoi(line) &lt;= 0 )
	{
		printf(&quot;行番号が不正です。\n&quot;);
		return;
	}

	shadow = fopen(shadow_name,&quot;w&quot;);

	if( atoi(line) == 1 )	//もし1行目に挿入したい場合は先に入力をする
	{
                printf(&quot;挿入したい文章を入力して下さい\n&quot;);
                printf(&quot;%8d: &quot;, 1);
		fgets(str,LINE_SIZE,stdin);	//挿入する内容を入力
		fputs(str,shadow);		//それをコピー
	}	//あとは2行目以降に挿入したい場合と同じ動きをする

	for(i=1;c != EOF;i++)
	{
		if((c = fgetc(txtfile)) == EOF )		//その行の一文字目がEOFなら
		{
			break ;				//終了
		}
		else if( c == &#039;\n&#039; )			//その行が単なる改行なら
		{
			j = 0 ;
			str[j] = &#039;\n&#039; ;			//改行をstrにおさめて
			goto input ;			//読み込み作業は飛ばす
		}
		str[0] = c ;				//一文字目がEOFでも改行でもなかったら
		for(j=1;(c = fgetc(txtfile)) != &#039;\n&#039;;j++)	//改行するまでその行を読み込む
		{
			str[j] = c ;
			if( c == EOF )			//ファイルの最後が改行せずに終わっていたら
			{
				goto input;		//改行を入れることなく飛ばす
			}	
		}
 
		str[j] = &#039;\n&#039; ;				//改行をstrに入れる
		input : ;
		str[++j] = &#039;\0&#039; ;			//最後にNULL文字を入れる
 
		if( i != atoi(line) -1 )	//挿入する手前以外の行は普通にshadowにコピー
		{
			fputs(str,shadow);
		}
		else			//挿入する手前の行は
		{
			fputs(str,shadow);	//まず手前の行の内容をコピー
                            printf(&quot;挿入したい文章を入力して下さい\n&quot;);
			printf(&quot;%8d: &quot;, atoi(line));
			fgets(str,LINE_SIZE,stdin);	//挿入する内容を入力
			fputs(str,shadow);	//それをコピー
						//通常の動きに戻る
		}
 
 
 
	}
 
	if( atoi(line) &gt; i )
	{
		printf(&quot;このコマンドは無効です。\n&quot;);
	}
 
	txtfile = freopen(txtname,&quot;w&quot;,txtfile);	//両方のファイルをオープンし直して
	shadow = freopen(shadow_name,&quot;r&quot;,shadow);
 
	for(;(c = fgetc(shadow)) != EOF;)	//shadowの中身をtxtfileにコピー
	{
		for(;c != &#039;\n&#039; &amp;&amp; c != EOF;c = fgetc(shadow))
		{
			fputc(c,txtfile);
		}
		fputc(&#039;\n&#039;,txtfile);
	}
	fclose(shadow);
	remove(shadow_name);
	return;
}    </description>
    <dc:date>2007-08-03T00:24:53+09:00</dc:date>
    <utime>1186068293</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/46.html">
    <title>help.cその２</title>
    <link>https://w.atwiki.jp/lineeditor/pages/46.html</link>
    <description>
      //c

#include &lt;stdio.h&gt;

//ヘルプ
void help(void)
{
	printf(&quot;\n*****ヘルプです******\n&quot;);
	printf(&quot;本プログラムでは以下の動作ができます。\n\n&quot;);
	printf(&quot;ヘルプ(本動作)・全行ひょうじ・一行編集・行削除・行挿入・単語検索・置換・undo(一つ前に戻す)・保存せずに終了・保存して終了\n\n\n&quot;);
	printf(&quot;*****以下各動作の説明です*****\n\n&quot;);
	printf(&quot;ヘルプ:\n*の後に h または H を入力して下さい。\n\n&quot;);
	printf(&quot;全行ひょうじ:\n*の後に l または L を入力して下さい。ファイルの内容が行番号と一緒にひょうじされます。\n\n&quot;);
	printf(&quot;一行編集:\n*の後に編集したい行番号を入力して下さい。その行の内容が行番号と一緒にひょうじされます。その後にひょうじされる行番号に続いて、書き換えたい文の内容を入力して下さい。\n\n&quot;);
	printf(&quot;行削除:\n*の後に d または D を入力して下さい。そのあと\n\&quot;削除したい行番号を入力して下さい\&quot;\nとひょうじされますので、削除したい行番号を続いて入力して下さい。\n\n&quot;);
	printf(&quot;行挿入:\n*の後に i または I を入力して下さい。そのあと\n\&quot;挿入したい行番号を入力して下さい\&quot;\nとひょうじされますので、削除したい行番号を続いて入力して下さい。次に\n\&quot;挿入したい文章を入力して下さい\&quot;\nとひょうじされますので、続いて挿入したい文章の内容を入力して下さい。\n\n&quot;);
	printf(&quot;単語検索:\n単語検索にはその単語を含む文字列を検索する検索その１と単語そのものを検索する検索その２があります。\n&quot;);
	printf(&quot;例えば、examを検索するとき、検索その１ではexampleも引っかかりますが、検索その２では引っかかりません。\n\n&quot;);
	printf(&quot;検索その１は、まず*の後に s1 または S1 を入力して下さい。そのあと\n\&quot;検索したい単語を入力して下さい\&quot;\nとひょうじされますので、検索したい文字列を続いて入力して下さい。入力した文字列を含む文が行番号と一緒にひょうじされます。\n&quot;);
	printf(&quot;検索その２は、まず*の後に s2 または S2 を入力して下さい。そのあと\n\&quot;検索したい単語を入力して下さい\&quot;\nとひょうじされますので、検索したい単語を続いて入力して下さい。入力した単語を含む文が行番号と一緒にひょうじされます。\n\n&quot;);
	printf(&quot;置換:\n置換にはその単語を含む文字列を全て置換する置換その１と単語そのものを置換する置換その２があります。\n&quot;);
	printf(&quot;例えば、examを置換するとき、置換その１ではexampleのexam部分も置換しますが、検索その２ではexampleのexam部分は置換せず exam となっている部分のみを置換します。\n\n&quot;);
	printf(&quot;置換その１は、まず*の後に r1 または R1 を入力して下さい。そのあと\n\&quot;置換される前の単語(編集前の今ある単語)を入力して下さい\&quot;\nとひょうじされますので、置換したい部分の置換される前の文字列を続いて入力して下さい。次に\n\&quot;置き換えた後の単語(編集後に残る単語)を入力して下さい\&quot;\nとひょうじされますので、続いて置換したい部分に置換後に残す文字列を入力して下さい。\n&quot;);
	printf(&quot;置換その２は、まず*の後に r2 または R2 を入力して下さい。そのあと\n\&quot;置換される前の単語(編集前の今ある単語)を入力して下さい\&quot;\nとひょうじされますので、置換したい部分の置換される前の単語を続いて入力して下さい。次に\n\&quot;置き換えた後の単語(編集後に残る単語)を入力して下さい\&quot;\nとひょうじされますので、続いて置換したい部分に置換後に残す単語を入力して下さい。\n\n&quot;);
	printf(&quot;undo:\n*の後に u または U を入力して下さい。その前にやった編集作業(一行編集・行削除・行挿入・置換)による変更を一回分だけ元に戻します。\n\n&quot;);
	printf(&quot;保存せずに終了:\n*の後に n または N を入力して下さい。今まで行った編集作業(一行編集・行削除・行挿入・置換)による変更を保存せずに終了します。\n\n&quot;);
	printf(&quot;保存して終了:\n*の後に e または E を入力して下さい。今まで行った編集作業(一行編集・行削除・行挿入・置換)による変更を保存して終了します。\n\n&quot;);
}    </description>
    <dc:date>2007-08-02T23:59:27+09:00</dc:date>
    <utime>1186066767</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/35.html">
    <title>main.c</title>
    <link>https://w.atwiki.jp/lineeditor/pages/35.html</link>
    <description>
      //c
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;string.h&gt;
 
#define LINE_SIZE 256
#define CMD_SIZE 100
 
void temporary_save(void); 
void execmd(char *txtname, char *temp_cmd);
void display_all(void);
void make_undofile(char *txtname, char *temp_cmd);
void save_end(void);
void not_save(char *txtname);
void un_do(char *txtname);
void word_search1(char *txtname);
void word_search2(char *txtname);
void help(void);
 
FILE *txtfile, *temp, *undo;
int coe = 1;                                    //終了条件(Condition Of End)
char temp_text[L_tmpnam],undo_text[L_tmpnam];	//一時的ファイルのファイル名(編集前とundo用のデータ保存用)
 
int main(int argc, char *argv[]){
 
	int start = 0;
	char cmd[CMD_SIZE];     //コマンド
	tmpnam(temp_text);	    //一時的ファイルのファイル名の決定
	tmpnam(undo_text);		//undo用ファイル名の決定
 
 
	//ファイルの引数を調べる。
	if(argc != 2){
		printf(&quot;引数にはファイルのパスを指定してください\n&quot;);
		exit(1);
	}
 
 
	//終了するまで無限ループ
	while(coe){
 
		//ファイルが開けるかどうかを調べる。
		if((txtfile = fopen(argv[1], &quot;r&quot;)) == NULL){
			printf(&quot;ファイルを開くことが出来ません&quot;);
			exit(1);
		}
 
		//*を表示する
		if(start) printf(&quot;*&quot;);
		else{
			//変更せずに終了するときに使用する変更前のファイルの保存
			temp = fopen(temp_text, &quot;w&quot;);
			temporary_save();
			temp = freopen(temp_text,&quot;r&quot;,temp);             //w→rに切り替える
			txtfile = fopen(argv[1], &quot;r&quot;);                  //もう一回txtfileと読み込んだファイルを結びつける。
			printf(&quot;ファイルを終わりまで読み込みました\n*&quot;);
			start++;
		}
 
		//コマンドを入力
		fgets(cmd, CMD_SIZE, stdin);
 
		//コマンドの実行
		execmd(argv[1], cmd);
 
		//ファイルを閉じる
		fclose(txtfile);
	}
	fclose(temp);
	remove(temp_text);		//一時的ファイルを削除する
	remove(undo_text);		//undo用ファイルを削除する
	return 0;
}
 
//一時的ファイルの保存
void temporary_save(void){
 
	int c;            /* 文字を読み込む */
 
	/* ファイルから EOFが現れるまで１字読み込む */
	while ((c = getc(txtfile)) != EOF) {
 
		fputc(c,temp);
 
	}
	/* この時点でtxtfileに結びつけられたファイルは最後まで読み込まれてしまったので閉じる */
	fclose(txtfile);
 
}
 
//機能はここに追加
void execmd(char *txtname, char *temp_cmd){
 
	if(strcmp(temp_cmd, &quot;l\n&quot;) == 0 || strcmp(temp_cmd, &quot;L\n&quot;) == 0) {display_all(); return;}                     //すべて表示
	if(atoi(temp_cmd) != 0) {make_undofile(txtname, temp_cmd); return;}                                           //一行編集に入る前にundo用ファイルに記録
	if(strcmp(temp_cmd, &quot;e\n&quot;) == 0 || strcmp(temp_cmd, &quot;E\n&quot;) == 0) {save_end(); return;}                        //保存して終了
	if(strcmp(temp_cmd, &quot;n\n&quot;) == 0 || strcmp(temp_cmd, &quot;N\n&quot;) == 0) {not_save(txtname); return;}                 //保存しないで終了
	if(strcmp(temp_cmd, &quot;u\n&quot;) == 0 || strcmp(temp_cmd, &quot;U\n&quot;) == 0) {un_do(txtname); return;}	              //前回の編集前の状態に戻す(undo)
	if(strcmp(temp_cmd, &quot;s1\n&quot;) == 0 || strcmp(temp_cmd, &quot;S1\n&quot;) == 0) {word_search1(txtname); return;}           //単語検索(少しでも含まれてればヒット)
	if(strcmp(temp_cmd, &quot;s2\n&quot;) == 0 || strcmp(temp_cmd, &quot;S2\n&quot;) == 0) {word_search2(txtname); return;}           //単語検索(トークンごとにヒット)
	if(strcmp(temp_cmd, &quot;r1\n&quot;) == 0 || strcmp(temp_cmd, &quot;R1\n&quot;) == 0) {make_undofile(txtname, temp_cmd); return;}//置換1に入る前にundo用ファイルに記録
	if(strcmp(temp_cmd, &quot;r2\n&quot;) == 0 || strcmp(temp_cmd, &quot;R2\n&quot;) == 0) {make_undofile(txtname, temp_cmd); return;}//置換2に入る前にundo用ファイルに記録
	if(strcmp(temp_cmd, &quot;d\n&quot;) == 0 || strcmp(temp_cmd, &quot;D\n&quot;) == 0) {make_undofile(txtname, temp_cmd); return;}  //行削除に入る前にundo用ファイルに記録
	if(strcmp(temp_cmd, &quot;i\n&quot;) == 0 || strcmp(temp_cmd, &quot;I\n&quot;) == 0) {make_undofile(txtname, temp_cmd); return;}  //行挿入に入る前にundo用ファイルに記録
	if(strcmp(temp_cmd, &quot;h\n&quot;) == 0 || strcmp(temp_cmd, &quot;H\n&quot;) == 0) {help(); return;}  //ヘルプ
 
	printf(&quot;このコマンドは無効です。\n&quot;);
	return;
}    </description>
    <dc:date>2007-08-02T23:54:25+09:00</dc:date>
    <utime>1186066465</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/34.html">
    <title>Makefile</title>
    <link>https://w.atwiki.jp/lineeditor/pages/34.html</link>
    <description>
      //c
simpline: main.o end.o display_all.o undo.o word_search.o row_edit.o  word_replace.o  help.o
	gcc -o simpline main.o end.o display_all.o undo.o word_search.o row_edit.o  word_replace.o  help.o

main.o: main.c
	gcc -c main.c

end.o: end.c
	gcc -c end.c

display_all.o: display_all.c
	gcc -c display_all.c

undo.o: undo.c
	gcc -c undo.c

word_search.o: word_search.c
	gcc -c word_search.c

row_edit.o: row_edit.c
	gcc -c row_edit.c

word_replace.o: word_replace.c
	gcc -c word_replace.c

help.o: help.c
	gcc -c help.c    </description>
    <dc:date>2007-08-02T23:53:51+09:00</dc:date>
    <utime>1186066431</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/lineeditor/pages/45.html">
    <title>help.c</title>
    <link>https://w.atwiki.jp/lineeditor/pages/45.html</link>
    <description>
      //c

void help(void)
{
	printf(&quot;\n*****ヘルプです******\n&quot;);
	printf(&quot;本プログラムには以下の機能が付いています。\n\n&quot;);
	printf(&quot;ヘルプ(本機能)・全行表示・一行編集・行削除・行挿入・単語検索・置換・undo(一つ前に戻す)・保存せずに終了・保存して終了\n\n\n&quot;);
	printf(&quot;*****以下機能の説明です*****\n\n&quot;);
	printf(&quot;ヘルプ:\n*の後に h または H を入力して下さい。\n\n&quot;);
	printf(&quot;全行表示:\n*の後に l または L を入力して下さい。ファイルの内容が行番号と一緒に表示されます。\n\n&quot;);
	printf(&quot;一行編集:\n*の後に編集したい行番号を入力して下さい。その行の内容が行番号と一緒に表示されます。その後に表示される行番号に続いて、書き換えたい文の内容を入力して下さい。\n\n&quot;);
	printf(&quot;行削除:\n*の後に d または D を入力して下さい。そのあと\n\&quot;削除したい行番号を入力して下さい\&quot;\nと表示されますので、削除したい行番号を続いて入力して下さい。\n\n&quot;);
	printf(&quot;行挿入:\n*の後に i または I を入力して下さい。そのあと\n\&quot;挿入したい行番号を入力して下さい\&quot;\nと表示されますので、削除したい行番号を続いて入力して下さい。次に\n\&quot;挿入したい文章を入力して下さい\&quot;\nと表示されますので、続いて挿入したい文章の内容を入力して下さい。\n\n&quot;);
	printf(&quot;単語検索:\n単語検索にはその単語を含む文字列を検索する検索その１と単語そのものを検索する検索その２があります。\n&quot;);
	printf(&quot;例えば、examを検索するとき、検索その１ではexampleも引っかかりますが、検索その２では引っかかりません。\n\n&quot;);
	printf(&quot;検索その１は、まず*の後に s1 または S1 を入力して下さい。そのあと\n\&quot;検索したい単語を入力して下さい\&quot;\nと表示されますので、検索したい文字列を続いて入力して下さい。入力した文字列を含む文が行番号と一緒に表示されます。\n&quot;);
	printf(&quot;検索その２は、まず*の後に s2 または S2 を入力して下さい。そのあと\n\&quot;検索したい単語を入力して下さい\&quot;\nと表示されますので、検索したい単語を続いて入力して下さい。入力した単語を含む文が行番号と一緒に表示されます。\n\n&quot;);
	printf(&quot;置換:\n置換にはその単語を含む文字列を全て置換する置換その１と単語そのものを置換する置換その２があります。\n&quot;);
	printf(&quot;例えば、examを置換するとき、置換その１ではexampleのexam部分も置換しますが、検索その２ではexampleのexam部分は置換せず exam となっている部分のみを置換します。\n\n&quot;);
	printf(&quot;置換その１は、まず*の後に r1 または R1 を入力して下さい。そのあと\n\&quot;置換される前の単語(編集前の今ある単語)を入力して下さい\&quot;\nと表示されますので、置換したい部分の置換される前の文字列を続いて入力して下さい。次に\n\&quot;置き換えた後の単語(編集後に残る単語)を入力して下さい\&quot;\nと表示されますので、続いて置換したい部分に置換後に残す文字列を入力して下さい。\n&quot;);
	printf(&quot;置換その２は、まず*の後に r2 または R2 を入力して下さい。そのあと\n\&quot;置換される前の単語(編集前の今ある単語)を入力して下さい\&quot;\nと表示されますので、置換したい部分の置換される前の単語を続いて入力して下さい。次に\n\&quot;置き換えた後の単語(編集後に残る単語)を入力して下さい\&quot;\nと表示されますので、続いて置換したい部分に置換後に残す単語を入力して下さい。\n\n&quot;);
	printf(&quot;undo:\n*の後に u または U を入力して下さい。その前にやった編集作業(一行編集・行削除・行挿入・置換)による変更を一回分だけ元に戻します。\n\n&quot;);
	printf(&quot;保存せずに終了:\n*の後に n または N を入力して下さい。今まで行った編集作業(一行編集・行削除・行挿入・置換)による変更を保存せずに終了します。\n\n&quot;);
	printf(&quot;保存して終了:\n*の後に e または E を入力して下さい。今まで行った編集作業(一行編集・行削除・行挿入・置換)による変更を保存して終了します。\n\n&quot;);
}    </description>
    <dc:date>2007-08-02T23:41:27+09:00</dc:date>
    <utime>1186065687</utime>
  </item>
  </rdf:RDF>
