{"id":19042163,"url":"https://github.com/buzzqrd/lncpy","last_synced_at":"2026-04-15T15:33:30.154Z","repository":{"id":167394205,"uuid":"590314722","full_name":"buzzqrd/lncpy","owner":"buzzqrd","description":"Simple C program for copying lines between files","archived":false,"fork":false,"pushed_at":"2023-01-20T05:36:06.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T07:26:29.737Z","etag":null,"topics":["c","cli","copy","copy-paste","terminal"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buzzqrd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-01-18T05:47:05.000Z","updated_at":"2023-09-06T15:51:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5b5a296-bc34-48f3-9679-dd61e6593757","html_url":"https://github.com/buzzqrd/lncpy","commit_stats":null,"previous_names":["buzzqrd/lncpy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzqrd%2Flncpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzqrd%2Flncpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzqrd%2Flncpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzzqrd%2Flncpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buzzqrd","download_url":"https://codeload.github.com/buzzqrd/lncpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100512,"owners_count":19747683,"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","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":["c","cli","copy","copy-paste","terminal"],"created_at":"2024-11-08T22:35:28.547Z","updated_at":"2026-04-15T15:33:30.108Z","avatar_url":"https://github.com/buzzqrd.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lncpy   :scissors:  :page_with_curl:\nSimple C program for copying lines between files\n\n## Installing\nUsing the `make` utility to compile from source:\n```\n$ git clone https://github.com/buzzqrd/lncpy\n$ cd lncpy/\n$ sudo make install\n```\n\n## Usage\nThis program copies and pastes lines in a similar way to Vim.\nLine insertions begin after the line that is specified.\nThe line numbers to specify start at 1 (not 0), which aligns with Vim line numbers.\n\n```\n$ lncpy [source lines] [source file] [insert line] [insert file]\n```\n\n### Examples:\nCopy lines 12-41 (inclusive) from the file *old_code.c* to after line 33 in the file *new_code.c*.\n```\n$ lncpy 12-41 old_code.c 33 new_code.c\n```\n\nCopy line 15 in *logs.txt* to after line 48 in *report.txt*.\n```\n$ lncpy 15 logs.txt 48 report.txt\n```\n\n## Contributing\nContributions to the code are welcome! Just keep in mind that:\n- New features should be simple and fit the core functionality\n- Code should be in C\n- Changes based on personal preference are best left in your fork\n\n## Licence\nThis software is licenced under the GNU General Public License v3.0.\nA copy of the licence should be included with the code.\nAn online copy of the licence can be found at [https://www.gnu.org/licenses/gpl-3.0.en.html](https://www.gnu.org/licenses/gpl-3.0.en.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzzqrd%2Flncpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuzzqrd%2Flncpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzzqrd%2Flncpy/lists"}