{"id":22604807,"url":"https://github.com/katahiromz/renum","last_synced_at":"2025-10-29T08:36:00.790Z","repository":{"id":262741735,"uuid":"888206525","full_name":"katahiromz/renum","owner":"katahiromz","description":"Renumber BASIC program lines","archived":false,"fork":false,"pushed_at":"2025-01-28T22:05:18.000Z","size":112,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-17T21:22:58.063Z","etag":null,"topics":["basic","basic-language","command-line","command-line-tool","cxx","cxx11","line-number","line-numbers","n88-basic","numbering","pc88","pc8801","pc98","pc9801","program","program-list","renumber","renumbering","text"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katahiromz.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-14T01:55:24.000Z","updated_at":"2025-01-28T22:05:22.000Z","dependencies_parsed_at":"2024-11-14T03:19:04.498Z","dependency_job_id":"0761283d-8d0a-48b5-bee0-43bbbaf5750d","html_url":"https://github.com/katahiromz/renum","commit_stats":null,"previous_names":["katahiromz/renum"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/katahiromz/renum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katahiromz%2Frenum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katahiromz%2Frenum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katahiromz%2Frenum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katahiromz%2Frenum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katahiromz","download_url":"https://codeload.github.com/katahiromz/renum/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katahiromz%2Frenum/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267136663,"owners_count":24041245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basic","basic-language","command-line","command-line-tool","cxx","cxx11","line-number","line-numbers","n88-basic","numbering","pc88","pc8801","pc98","pc9801","program","program-list","renumber","renumbering","text"],"created_at":"2024-12-08T13:11:10.150Z","updated_at":"2025-10-29T08:35:55.736Z","avatar_url":"https://github.com/katahiromz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿(Japanese, UTF-8)\n\n# renum by katahiromz\n\n## これは何？\n\n`renum` は、BASIC プログラムの行番号を再番号付けするためのコマンドラインツールです。\nこのツールを使用すると、BASIC コードの行番号を体系的に更新でき、コードが読みやすく、管理しやすくなります。\n\n```txt\nRENUM --- BASIC プログラムの行番号を再番号付け\n\n使用方法: renum [OPTIONS] -i your_file.bas -o output.bas\n\nオプション:\n  -i FILE                  再番号付けする BASIC 入力ファイルを指定します。\n  -o FILE                  出力ファイルを指定します (デフォルト: output.bas)。\n  --new-start LINE_NUMBER  新しい開始行番号を設定します (デフォルト: 10)。\n  --old-start LINE_NUMBER  古い開始行番号を設定します (デフォルト: 0)。\n  --step STEP              行番号の増加ステップを設定します (デフォルト: 10)。\n  --force                  無効な行番号があっても強制的に再番号付けを行います。\n  --help                   このヘルプメッセージを表示して終了します。\n  --version                バージョン情報を表示して終了します。\n```\n\n## 使用例\n\n```cmd\nrenum -i program.bas -o new_program.bas --new-start 100 --step 20\n```\n\n## 主な機能\n\n- 柔軟な再番号付け: 開始行番号や増加ステップをカスタマイズしてニーズに合わせることができます。\n- エラー処理: 無効な行番号に遭遇しても、オプションで再番号付けを強制できます。\n- ファイルサポート: 入力ファイルと出力ファイルを簡単に指定して効率的な作業が可能です。\n\n## サポートする文\n\n(### は行番号を表します)\n\n- `GOTO ###`\n- `GOSUB ###`\n- `GO TO ###`\n- `GO SUB ###`\n- `IF ...式... THEN ### ELSE ###`\n- `ON ...式... GOTO ###, ###, ...`\n- `ON ...式... GOSUB ###, ###, ...`\n- `AUTO ###`\n- `EDIT ###`\n- `DELETE ###`\n- `DELETE ###-`\n- `DELETE -###`\n- `DELETE ###-###`\n- `LIST ###`\n- `LIST ###-`\n- `LIST ###-###`\n- `LIST -###`\n- `LLIST ###`\n- `LLIST ###-`\n- `LLIST ###-###`\n- `LLIST -###`\n- `RESUME ###`\n- `RUN ###`\n- `RESTORE ###`\n- `RETURN ###`\n\n## ライセンス\n\n- MIT\n\n## お問い合わせ\n\nこのツールの詳細や使用に関するサポートについては katahiromz にお問い合わせください。\n\n- 片山博文MZ \u003ckatayama.hirofumi.mz@gmail.com\u003e\n\n---\n(English)\n\n# renum by katahiromz\n\n## What's this?\n\nThe `renum` program is a command-line tool designed to renumber the lines in a BASIC program.\nIt helps organize and manage your BASIC code by systematically updating line numbers,\nmaking the code easier to read and maintain.\n\n```txt\nRENUM --- Renumber BASIC Program Lines\n\nUsage: renum [OPTIONS] -i your_file.bas -o output.bas\n\nOptions:\n  -i FILE                  Specify the input BASIC file to be renumbered.\n  -o FILE                  Specify the output file (default: output.bas).\n  --new-start LINE_NUMBER  Set the new starting line number (default: 10).\n  --old-start LINE_NUMBER  Set the old starting line number (default: 0).\n  --step STEP              Set the increment step between lines (default: 10).\n  --force                  Force renumbering even if any invalid line number.\n  --help                   Display this help message and exit.\n  --version                Display version information and exit.\n```\n\n## Example\n\n```cmd\nrenum -i program.bas -o new_program.bas --new-start 100 --step 20\n```\n\n## Key Features\n\n- *Flexible Renumbering*: Customize the starting line number and step increment to fit your needs.\n- *Error Handling*: Options to handle or force renumbering even when encountering invalid line numbers.\n- *File Support*: Easily specify input and output files for streamlined workflow.\n\n## Covering Statements\n\n(`###` represents a line number)\n\n- `GOTO ###`\n- `GOSUB ###`\n- `GO TO ###`\n- `GO SUB ###`\n- `IF ...expr... THEN ### ELSE ###`\n- `ON ...expr... GOTO ###, ###, ...`\n- `ON ...expr... GOSUB ###, ###, ...`\n- `AUTO ###`\n- `EDIT ###`\n- `DELETE ###`\n- `DELETE ###-`\n- `DELETE -###`\n- `DELETE ###-###`\n- `LIST ###`\n- `LIST ###-`\n- `LIST ###-###`\n- `LIST -###`\n- `LLIST ###`\n- `LLIST ###-`\n- `LLIST ###-###`\n- `LLIST -###`\n- `RESUME ###`\n- `RUN ###`\n- `RESTORE ###`\n- `RETURN ###`\n\n## License\n\n- MIT\n\n## Contact\n\nFor more details or help using this tool, you can contact katahiromz.\n\n- Katayama Hirofumi MZ \u003ckatayama.hirofumi.mz@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatahiromz%2Frenum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatahiromz%2Frenum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatahiromz%2Frenum/lists"}