JP2990701B2 - File editing method - Google Patents
File editing methodInfo
- Publication number
- JP2990701B2 JP2990701B2 JP20165289A JP20165289A JP2990701B2 JP 2990701 B2 JP2990701 B2 JP 2990701B2 JP 20165289 A JP20165289 A JP 20165289A JP 20165289 A JP20165289 A JP 20165289A JP 2990701 B2 JP2990701 B2 JP 2990701B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- input
- read
- updated
- record
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title description 10
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
Landscapes
- Stored Programmes (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はファイル編集方式に関する。Description: TECHNICAL FIELD The present invention relates to a file editing system.
ここでは、入力されたファイルを編集するプログラム
をエディタと呼ぶ。Here, a program for editing the input file is called an editor.
一般的なエディタ2は、第6図に示すようにファイル
1をファイル入力部3で入力し、ファイルの内容を画面
出力部6によってコンソール9に出力する。このコンソ
ール9からの操作指示入力を操作指示入力部4から入力
し、編集部5で編集処理を行う。また、編集部5の編集
結果に従って、ファイル出力部7で更新結果を更新結果
ファイル8に出力する。このエディタの走行するホスト
マシン21は、第7図に示すように、ユーザの入力するエ
ディタの操作指示コマンドを受付け、編集結果を表示す
るコンソール22、エディタの処理を行う演算装置23、お
よびファイルを格納する外部記憶装置24をもつ。The general editor 2 inputs the file 1 through the file input unit 3 and outputs the contents of the file to the console 9 through the screen output unit 6 as shown in FIG. The operation instruction input from the console 9 is input from the operation instruction input unit 4 and the editing unit 5 performs an editing process. The file output unit 7 outputs the update result to the update result file 8 according to the edit result of the edit unit 5. As shown in FIG. 7, the host machine 21 on which this editor runs receives an editor operation instruction command input by the user, and displays a console 22 for displaying the edited result, a computing device 23 for processing the editor, and a file. It has an external storage device 24 for storing.
エディタは、ファイルを論理的に管理する。言語処理
プログラム用のソース・ファイルを編集するエディタで
は、ファイルを行単位に管理している。行の区切りとし
ては、特定の終了文字(例えばラインフィード文字)ま
でを行とする方式や、ファイル中で各行の長さを管理す
る方式などがある。また、言語処理プログラム用のソー
ス・ファイルでは文法により、言語処理プログラムの指
示情報が表される。The editor manages files logically. In an editor for editing a source file for a language processing program, the file is managed line by line. As a line delimiter, there are a method in which a line ends up to a specific end character (for example, a line feed character) and a method in which the length of each line in a file is managed. In the source file for the language processing program, instruction information of the language processing program is represented by a grammar.
従来のエディタでは、入力ファイルのもつ指示情報に
関係なく、起動されると入力ファイルを読込み、操作指
示入力に応じ全内容をコンソールに表示する。A conventional editor reads an input file when started, regardless of the instruction information of the input file, and displays all contents on a console in response to an operation instruction input.
課題の説明にあたり、ファイルとして言語処理プログ
ラム用のソース・ファイルを例にして説明する。言語処
理プログラム用のソース・ファイルを編集するエディタ
では、ファイルを行単位に管理するものとし、また指示
情報は言語処理プログラムの文法により表示されること
とする。In describing the problem, a source file for a language processing program will be described as an example of the file. In an editor that edits a source file for a language processing program, the file is managed on a line basis, and the instruction information is displayed according to the grammar of the language processing program.
言語処理プログラムでは、プログラム開発時にディバ
グ情報を埋込んだり、複数用途のプログラムの管理の一
本化のために、条件コンパイルという機能をもつものが
多い。これは、あらかじめ言語処理プログラムで規定さ
れた文法を表す指示子に従ってファイルの特定の行のみ
を入力する機能である。例えばC言語処理プログラムで
は、#i−fdef,#endifなどの指示により、ファイル中
の特定の行を判別し、特定の行のみを入力する。Many language processing programs have a function of conditional compilation in order to embed debug information during program development or to unify management of programs for multiple uses. This is a function for inputting only a specific line of a file in accordance with an indicator representing a grammar specified in advance by a language processing program. For example, in a C language processing program, a specific line in a file is determined according to an instruction such as # i-fdef or #endif, and only a specific line is input.
従来のエディタでは、ファイル中にこうした指示子が
あった場合にもこの指示子を認識しないため、エディタ
は言語処理プログラムが読込みを行わない行に対しても
ホストマシンのコンソールに対しファイルの内容を表示
する。このため、指示子が使われている場合、言語処理
プログラムが読込む箇所を判別した上でファイル中の編
集したい箇所を見つけるのに時間がかかったり、言語処
理プログラムが読込まない箇所を誤って編集したりし
て、開発効率が低下するという問題点があった。Conventional editors do not recognize such directives even if they are present in the file, so the editor sends the contents of the file to the host machine console even for lines that the language processing program does not read. indicate. For this reason, when the indicator is used, it takes time to find the part to be edited in the file after determining the part to be read by the language processing program, or mistakenly specify the part that the language processing program can not read. For example, there is a problem that development efficiency is reduced due to editing.
本発明の目的は、入力ファイルのもつ指示情報に従っ
て、入力ファイルの特定部分のみをコンソールに表示で
きるようにしたファイル編集方式を提供することにあ
る。SUMMARY OF THE INVENTION It is an object of the present invention to provide a file editing method in which only a specific portion of an input file can be displayed on a console according to instruction information of the input file.
本発明の機能は、ファイルを外部記憶装置から入力す
る入力手段、コンソールからの操作指示情報を入力する
キー入力手段、前記操作指示情報をもとにファイルを編
集する手段、この編集結果をコンソールに出力する出力
手段および前記編集結果によって更新されたファイルを
外部記憶装置に出力するファイル出力手段を有するファ
イル編集方式において、入力ファイルのもつ指示情報に
従ってファイルの特定部分を読込む処理部と、前記特定
部分の読込み内容を前記コンソールに表示する処理部
と、前記4特定部分の読込み部の更新結果と読込みを行
っていない部分とを結合して更新ファイルを前記外部記
憶装置に出力する処理部とを設けることにより、入力フ
ァイルがもつ指示情報に従ってこの入力ファイルの特定
部分のみを前記コンソールに表示することを特徴とす
る。The functions of the present invention include input means for inputting a file from an external storage device, key input means for inputting operation instruction information from a console, means for editing a file based on the operation instruction information, In a file editing method having an output unit for outputting and a file output unit for outputting a file updated by the editing result to an external storage device, a processing unit for reading a specific portion of a file in accordance with instruction information of an input file; A processing unit for displaying the read content of the portion on the console, and a processing unit for combining the update result of the read unit of the 4 specific portion and the portion that has not been read and outputting an update file to the external storage device. With this arrangement, only a specific part of the input file can be read by the console according to the instruction information of the input file. And displaying Le.
次に、図面を参照して本発明を説明する。本実施例
は、入力ファイルとしてC言語処理プログラム用のソー
ス・ファイルを用い、そのファイル編集を行うプログラ
ムとしてファイルを行単位に管理するエディタを用い、
また指示情報はC言語処理プログラムの文法により表さ
れることとする。Next, the present invention will be described with reference to the drawings. In the present embodiment, a source file for a C language processing program is used as an input file, and an editor that manages the file line by line is used as a program for editing the file.
The instruction information is represented by the grammar of the C language processing program.
C言語では、#define指示子のオペランドに名標を記
述することにより名標を定義する。この#define指示子
とオペランドは空白で区切られ、また特定の行群の範囲
付けを#ifdef指示子と#endif指示子で指定する。これ
ら指示子の文法を第1表に示す。In the C language, a name tag is defined by describing the name tag in the operand of the #define specifier. The #define directive and the operand are separated by a space, and the range of a specific line group is specified by the #ifdef directive and the #endif directive. Table 1 shows the syntax of these directives.
#ifdef指示子のオペランドとして名標を記述し、こ
の名標が定義されていない場合または値0が定義されて
いる場合、これ以降の行を#endif指示子を読込むまで
無視する。C言語処理プログラム用のファイルの例を第
2表に、このファイルのうちC言語プログラムが処理対
象とする部分を第3表に示す。以下の説明では本発明の
要点を鮮明にするため、#ifdef指示子はネスティング
しないものと仮定する。 A name mark is described as an operand of the #ifdef specifier. If this name mark is not defined or the value 0 is defined, the subsequent lines are ignored until the #endif specifier is read. Table 2 shows an example of a file for the C language processing program, and Table 3 shows a portion of the file to be processed by the C language program. In the following description, it is assumed that the #ifdef indicator is not nested in order to clarify the gist of the present invention.
第 2 表 #define DEBUG 0 b=a; #ifdef DEBUG printf(“a=%d\n",a); #endif c=b; 第 3 表 #define DEBUG 0 b=a; c=b; 第1図は本発明の一実施例の構成を示すブロック図で
ある。編集部には、入力ファイルの持つ文法に従って入
力ファイル内の特定行を読み込む特定部分読み込み部11
0と、前記特定行を表示する特定部分表示処理部111と、
非読み込み部と更新部分の結合する更新結果ファイル作
成部112をもっている。本実施例ではエディタの使用時
#define演算子を追加したり、#define演算子のオペラ
ンドをエディタ使用者が変更しないものとする。これは
エディタ使用上の制限事項とする。前記追加や変更をエ
ディタ使用者が行いたい場合、エディタ使用者は、#de
fine演算子を追加したり、#define演算子のオペランド
を変更後エディタの使用を一旦終了させ、エディタを再
起動させれば前記追加や変更は可能である。Table 2 #define DEBUG 0 b = a; #ifdef DEBUG printf (“a =% d\n”, a); #endif c = b; Table 3 #define DEBUG 0 b = a; c = b; FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. The editing unit includes a specific part reading unit 11 that reads a specific line in the input file according to the grammar of the input file.
0, a specific part display processing unit 111 for displaying the specific line,
It has an update result file creation unit 112 in which the non-read unit and the update unit are combined. In this embodiment, it is assumed that the #define operator is not added when the editor is used, and the operand of the #define operator is not changed by the editor user. This is a limitation on the use of the editor. If the editor user wants to make the addition or change, the editor user
The addition or change can be made by adding a fine operator or changing the operand of the #define operator and then ending the use of the editor and restarting the editor.
次に、本実施例で従来例に対し追加した特定部分読込
み部の処理を、第2図のフローチャートにより説明す
る。ここでは、入力ファイルを順方向にのみ読込むもの
とする。入力ファイルをランダムに読込む場合には、入
力ファイルの読込んだ位置に対応するようにワーク・フ
ァイルを作成する処理を編集部5が行えばよい。このラ
ンダムに読込んで入力ファイルの読込んだ位置に対応す
るようにワーク・ファイルを作成する処理は、従来のエ
ディタで一般的である。Next, the processing of the specific part reading unit added to the conventional example in this embodiment will be described with reference to the flowchart of FIG. Here, it is assumed that the input file is read only in the forward direction. When the input file is read at random, the editing unit 5 may perform a process of creating a work file so as to correspond to the position where the input file is read. This process of randomly reading and creating a work file so as to correspond to the read position of the input file is common in a conventional editor.
本実施例の特定部分読込み部の処理として、まずステ
ップ101で入力ファイル、更新ワーク・ファイルおよび
非更新ワーク・ファイルをオープンする。次に、ステッ
プ102で1行読み込み、ステップ103で入力ファイルから
行がなくなるまで以下の処理を繰り返す。読込んだ行の
先頭が#define指示子であるかステップ104で比較し、
#define指示子と一致した場合は、次にステップ105で
名標の値が0かの判定をする。その値が0でない場合#
define指示子のオペランドに記述された名標をエディタ
内部の名標テーブルに登録し(ステップ106)、次に1
行読み込む(ステップ102)。First, in step 101, an input file, an updated work file, and a non-updated work file are opened. Next, one line is read in step 102, and the following processing is repeated until there are no more lines in the input file in step 103. In step 104, compare the read line with the #define specifier at the beginning.
If it matches the #define designator, it is next determined in step 105 whether the value of the name tag is 0. If the value is not 0 #
Register the mark described in the operand of the define directive in the mark table inside the editor (step 106).
The line is read (step 102).
入力ファイルの最後まで読込み、名標テーブルへの登
録が終わったら、ステップ114で入力ファイルの先頭か
ら再び読込む準備をする。次に、115で1行読込み、入
力ファイルから行がなくなるまで以下の処理を繰り返す
(116)。When the input file is read to the end and registered in the name table, preparation is made at step 114 to read from the beginning of the input file again. Next, one line is read in 115, and the following processing is repeated until there are no more lines in the input file (116).
読込んだ行の先頭が#ifdef指示子であるか否かの判
定をステップ108で行い、#ifdef指示子と一致した場
合、これらの指示子のオペランドに記述された名標に関
し、前記名標テーブルを検索し、一致する名標があるか
否かを調べる(ステップ109)。名標がある場合その行
以降を#endif指示子があるまで更新ワーク・ファイル
に行の内容を1行1レコードとして出力する(ステップ
110)。一致する名標がない場合、更新ワーク・ファイ
ルに非更新部管理ブロック番号を示す(この場合1)レ
コードをステップ111で出力する。In step 108, it is determined whether or not the head of the read line is an #ifdef designator. If the read-out line matches the #ifdef designator, the mark described in the operands of these designators is referred to as the aforementioned mark. The table is searched to determine whether there is a matching name tag (step 109). If there is a name tag, the contents of the line are output as one record per line to the update work file until the #endif specifier exists after the line (step
110). If there is no matching mark, a record indicating the non-updated part management block number (1 in this case) is output to the updated work file in step 111.
一方、非更新ワーク・ファイルにまず、非更新部管理
開始ブロック番号を示す(この場合1)レコードをステ
ップ112で出力する。次に名標があった行以降を#endif
演算子があるまで非更新ワーク・ファイルに行の内容を
1行1レコードとして出力し、非更新部管理終了レコー
ドを出力する(113)。ステップ108にて読込んだ行の先
頭が#ifdef指示子でない場合、更新ファイルに行の内
容を1レコードをステップ107として出力し、次にステ
ップ115で1行を読込む。On the other hand, a record indicating the non-updated part management start block number (in this case, 1) is output to the non-updated work file in step 112. #Endif after the line with the next name tag
Until there is an operator, the contents of the line are output to the non-updated work file as one record per line, and the non-updated part management end record is output (113). If the head of the line read in step 108 is not the #ifdef designator, the contents of the line are output to the update file as one record as step 107, and then one line is read in step 115.
こうして、第1表の入力ファイルに対して生成される
更新ワーク・ファイル/非更新ワーク・ファイルの内容
を第4表(a),(b)に示す。Tables 4 (a) and 4 (b) show the contents of the updated work file / non-updated work file generated for the input file shown in Table 1.
第4表(a)更新ワークファイル #define DEBUG 0 b=a; 非更新部管理レコード(1) c=b; 第4表(b)非更新ワークファイル 非更新部管理開始レコード(1) #ifdef DEBUG printf(“a=%d\n",a); #endif 非更新部管理終了レコード(1) 次に、特定部分表示処理部では更新ワーク・ファイル
を読込む。ここで、非更新部管理レコードを読込んだ場
合、ここから画面上表示されていない部分があることを
示す表示をコンソールに表示する。この処理を第3図の
フローチャートで示す。Table 4 (a) Update work file #define DEBUG 0 b = a; Non-updated part management record (1) c = b; Table 4 (b) Non-updated work file Non-updated part management start record (1) #ifdef DEBUG printf (“a =% d\n”, a); #endif Non-updated part management end record (1) Next, the specific part display processing unit reads the updated work file. Here, when the non-updated part management record is read, a display indicating that there is a part that is not displayed on the screen from here is displayed on the console. This process is shown in the flowchart of FIG.
まず、ステップ201で更新ワーク・ファイルを1レコ
ード読込み、ステップ202で更新ワーク・ファイルから
レコードがなくなるまで以下の処理を繰返す。次に、ス
テップ203でまず読込んだレコードが非更新部管理レコ
ードであるかを確認する。非更新部管理レコードである
場合、#ifdef部分を読み飛ばしたことを示す記号、例
えば“**** SKIP #ifdef ****”をコンソ
ールに表示する(204)。また、非更新部管理レコード
でない場合、読込んだレコードの内容をコンソールに表
示する(205)。First, in step 201, one record of the updated work file is read, and in step 202, the following processing is repeated until there are no more records in the updated work file. Next, in step 203, it is checked whether the read record is a non-updated part management record. If the record is a non-updated part management record, a symbol indicating that the #ifdef part has been skipped, for example, "**** SKIP #ifdef ***" is displayed on the console (204). If the record is not a non-updated part management record, the contents of the read record are displayed on the console (205).
こうして第4表の更新ワーク・ファイルに対してコン
ソールに表示される例を第5表に示す。Table 5 shows an example of the updated work file shown in Table 4 displayed on the console.
第 5 表 #define DEBUG 0 b=a; **** SKIP #ifdef **** c=b; 最後に、更新結果ファイル作成部には、更新ワーク・
ファイルと非更新ワーク・ファイルの結合部をもってい
る。ここでは、更新ファイルの内容を更新結果ファイル
に複写する。ここで更新ワーク・ファイル中の非更新部
管理レコードを読み込んだ場合、非更新ワーク・ファイ
ルの対応するレコード番号の非更新埋管理開始レコード
の直後以降、非更新部管理終了レコードの直前までの内
容を更新ファイルに追加する。次に再び、更新ファイル
の内容を更新結果ファイルに複写する。この処理を第4
図のフローチャートに示す。Table 5 #define DEBUG 0 b = a; *** SKIP #ifdef *** c = b; Finally, the update work file
Has a join between the file and the non-updated work file. Here, the contents of the update file are copied to the update result file. If the non-updated part management record in the updated work file is read here, the contents from immediately after the non-updated embedded management start record of the corresponding record number of the non-updated work file to immediately before the non-updated part management end record To the update file. Next, the contents of the update file are copied to the update result file again. This process is the fourth
This is shown in the flowchart of FIG.
まず、ステップ301で更新結果ファイルをオープン
し、ステップ302で更新ワーク・ファイルを1レコード
読込む。次に、303で更新ワーク・ファイルからレコー
ドがなくなるまで以下の処理を繰り返す。まず、読込ん
だレコードが非更新部管理レコードであるかをステップ
304で確認する。これが非更新部管理レコードである場
合、ステップ305で更新番号に対応する非更新部管理開
始レコードを非更新ワーク・ファイルからサーチし、ス
テップ306で非更新部管理終了レコードの直前まで非更
新ワーク・ファイルの内容を更新結果ファイルに出力す
る。ステップ304において非更新部管理レコードでない
場合、ステップ307で更新ワーク・ファイルの内容を更
新結果ファイルに出力する。更新ワーク・ファイルがな
くなったら、ステップ308で入力ファイル、更新ワーク
・ファイル、非更新ワーク・ファイルおよび更新結果フ
ァイルをクローズする。こうして、コンソールには入力
ファイルの特定部分のみ表示させながら入力ファイルを
更新することができる。First, an update result file is opened in step 301, and one record of the update work file is read in step 302. Next, the following processing is repeated until there are no more records in the updated work file in 303. First, check whether the read record is a non-updated part management record.
Check with 304. If this is a non-updated part management record, a non-updated part management start record corresponding to the update number is searched from the non-updated work file in step 305, and a non-updated work Output the contents of the file to the update result file. If it is not a non-updated part management record in step 304, the contents of the updated work file are output to an update result file in step 307. When there are no more updated work files, in step 308, the input file, the updated work file, the non-updated work file, and the update result file are closed. Thus, the input file can be updated while displaying only a specific portion of the input file on the console.
第5図は本発明の第2の実施例の特定部分表示処理部
の処理を示すフローチャートである。本実施例2も第1
の実施例と処理の概要は同じであるが、編集部5の特定
部分表示処理部11において、入力ファイルから読み込ん
だ行に行番号をつけて表示する機能をもっていることが
第1の実施例と相違している。FIG. 5 is a flowchart showing the processing of the specific part display processing unit according to the second embodiment of the present invention. Example 2 is also the first
Although the outline of the processing is the same as that of the first embodiment, the first embodiment is different from the first embodiment in that the specific portion display processing unit 11 of the editing unit 5 has a function of attaching a line number to the line read from the input file and displaying the line. Are different.
まず、ステップ401で行番号を記憶するカウンタを1
に初期化し、次にステップ402で更新ワーク・ファイル
を1レコード読込む。さらにステップ403で、更新ワー
ク・ファイルからレコードがなくなるまで以下の処理を
繰返す。まず、読込んだレコードが非更新部管理レコー
ドであるかをステップ404で確認する。非更新部管理レ
コードである場合、ステップ405で更新番号に対応する
非更新部管理開始レコードを非更新ワーク・ファイルか
らサーチし、ステップ406で非更新部管理終了レコード
の直前の行数をカウントし、その分行番号カウンタを加
算する。ステップ404において非更新部管理レコードで
ない場合、ステップ407で行番号カウンタの番号とレコ
ードの内容をコンソールに表示し、ステップ408で行番
号カウンタを1加算する。こうして第2表の入力プログ
ラムがコンソールに表示される例を、第6表に示す。First, at step 401, the counter for storing the row number is set to 1
Then, at step 402, one record of the updated work file is read. Further, in step 403, the following processing is repeated until there are no more records in the updated work file. First, it is checked in step 404 whether the read record is a non-updated part management record. If the record is a non-updated part management record, the non-updated part management start record corresponding to the update number is searched from the non-updated work file in step 405, and the number of lines immediately before the non-updated part management end record is counted in step 406. , The line number counter is incremented. If the record is not a non-updated part management record in step 404, the number of the line number counter and the contents of the record are displayed on the console in step 407, and the line number counter is incremented by 1 in step 408. An example in which the input programs of Table 2 are displayed on the console in this way is shown in Table 6.
第 6 表 00001:#define DEBUG 0 00002:b=a; 00006:c=b; 〔発明の効果〕 以上説明したように、本発明を用いたエディタでは、
入力ファイルのもつ指示情報に従って、入力ファイルの
特定部分のみをコンソールに表示させるので、入力ファ
イル中で着目したくない部分をコンソールに表示しなく
なり、次の効果がある。Table 6 Table 00001: #define DEBUG 0 00002: b = a; 00006: c = b; [Effect of the Invention] As described above, in the editor using the present invention,
Since only a specific portion of the input file is displayed on the console according to the instruction information of the input file, a portion of the input file that the user does not want to focus on is not displayed on the console, and the following effect is obtained.
(1) 着目したくない部分を誤って編集することがな
くなる。(1) It is not necessary to edit a part that the user does not want to pay attention to by mistake.
(2) 編集したい箇所を探し易くなる。(2) It becomes easier to find the part to be edited.
(3) 着目したい部分のみ表示されるため、入力ファ
イルの内容を理解しやすくなる。(3) Since only the portion of interest is displayed, the contents of the input file can be easily understood.
こうして、入力ファイルの編集効率を上げることがで
きる。Thus, the editing efficiency of the input file can be improved.
【図面の簡単な説明】 第1図は本発明の一実施例を説明するシステムのブロッ
ク図、第2図,第3図,第4図はそれぞれ第1図の特定
部分読込み部、特定部分表示処理部および更新結果ファ
イル作成部の各処理を説明するフローチャート、第5図
は本発明の第2の実施例の特定部分読込み部の処理を説
明するフローチャート、第6図は従来のファイル編集シ
ステムの一例のブロック図、第7図は第6図のシステム
の走行するホストマシンのブロック図である。 1……入力ファイル、2,2a……ファイル編集プログラ
ム、3……ファイル入力部、4……操作指示入力部、5
……編集部、6……画面出力部、7……ファイル出力
部、8……更新結果ファイル、9……コンソール、10…
…特定部分読み込み部、11……特定部分表示処理部、12
……更新結果ファイル作成部、21……ホストマシン、22
……コンソール、23……演算装置、24……外部記憶装
置、101〜113,201〜205,301〜308,401〜408……処理ス
テップ。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a system for explaining an embodiment of the present invention, and FIGS. 2, 3, and 4 are specific part reading units and specific part displays of FIG. 1, respectively. FIG. 5 is a flowchart for explaining the processing of the processing section and the update result file creating section, FIG. 5 is a flowchart for explaining the processing of the specific part reading section of the second embodiment of the present invention, and FIG. FIG. 7 is a block diagram of an example of a host machine in which the system of FIG. 6 runs. 1 ... input file, 2, 2a ... file editing program, 3 ... file input section, 4 ... operation instruction input section, 5
... Editing unit, 6 ... Screen output unit, 7 ... File output unit, 8 ... Update result file, 9 ... Console, 10 ...
... Specific part reading unit, 11 ... Specific part display processing unit, 12
…… Update result file creation part, 21 …… Host machine, 22
...... console, 23 ... arithmetic unit, 24 ... external storage device, 101-113, 201-205, 301-308, 401-408 ... processing steps.
Claims (1)
手段、コンソールからの操作指示情報を入力するキー入
力手段、前記操作指示情報をもとにファイルを編集する
手段、この編集結果をコンソールに出力する出力手段お
よび前記編集結果によって更新されたファイルを外部記
憶装置に出力するファイル出力手段を有するファイル編
集方式において、入力ファイルのもつ指示情報に従って
ファイルの特定部分を読込む処理部と、前記特定部分の
読込み内容を前記コンソールに表示する処理部と、前記
特定部分の読込み部の更新結果と読込みを行っていない
部分とを結合して更新ファイルを前記外部記憶装置に出
力する処理部とを設けることにより、入力ファイルがも
つ指示情報に従ってこの入力ファイルの特定部分のみを
前記コンソールに表示することを特徴とするファイル編
集方式。An input unit for inputting a file from an external storage device; a key input unit for inputting operation instruction information from a console; a unit for editing a file based on the operation instruction information; A file editing system having an output unit that outputs a file updated by the editing result to an external storage device, a processing unit that reads a specific portion of a file in accordance with instruction information of an input file; A processing unit that displays the read content of the specified part on the console, and a processing unit that combines an update result of the read unit of the specific part with a part that has not been read and outputs an update file to the external storage device. According to the instruction information of the input file, only a specific portion of the input file is stored in the console. File editing system, characterized in that the Shimesuru.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20165289A JP2990701B2 (en) | 1989-08-02 | 1989-08-02 | File editing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20165289A JP2990701B2 (en) | 1989-08-02 | 1989-08-02 | File editing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0363820A JPH0363820A (en) | 1991-03-19 |
| JP2990701B2 true JP2990701B2 (en) | 1999-12-13 |
Family
ID=16444644
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20165289A Expired - Fee Related JP2990701B2 (en) | 1989-08-02 | 1989-08-02 | File editing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2990701B2 (en) |
-
1989
- 1989-08-02 JP JP20165289A patent/JP2990701B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0363820A (en) | 1991-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH07200358A (en) | Automatic test method of software application | |
| JP2990701B2 (en) | File editing method | |
| JP2000207246A (en) | Debugging support apparatus and method, and recording medium recording debug support software | |
| JP2998674B2 (en) | Document creation support device for design work | |
| JP2752827B2 (en) | Debugger processing method | |
| JPH0358225A (en) | File editing system | |
| JP2639349B2 (en) | Error correction line search device | |
| JPH05307472A (en) | Program parts information reusing device | |
| JPS62186339A (en) | Compiling error display system in text editor | |
| JP3105546B2 (en) | Assembler symbol debug information processing method | |
| JPH11327887A (en) | Compiler system with automatic parts converting function and recording medium | |
| JP3886726B2 (en) | PROGRAM SPECIFICATION CREATION DEVICE, PROGRAM SPECIFICATION CREATION METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM SPECIFICATION CREATION PROGRAM | |
| JPH05181661A (en) | General purpose menu system for each user | |
| JPWO2000050988A1 (en) | Program specification creation device, program specification creation method, and recording medium recording a program specification creation program | |
| JP2834032B2 (en) | Individual output method of the same attribute form | |
| JPH06324853A (en) | Source program editor setting object oriented programming language as target | |
| JP2001134462A (en) | Program debug device | |
| JPH01237834A (en) | System for editing and displaying load module | |
| JPH05189224A (en) | Management system for processing method | |
| JPH03260828A (en) | Information processor | |
| JPH06309319A (en) | Document processor | |
| JPH03282844A (en) | Output device for data base information | |
| JPH02151931A (en) | Intermediate language text reuse method | |
| JPH06259278A (en) | System for acquiring debugging information | |
| JPS638837A (en) | Scan data display system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |