Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magayaga/concat
Command-based utility that reads files sequentially, writing them to standard output!
https://github.com/magayaga/concat
cat command linux macos terminal type unix windows
Last synced: 5 days ago
JSON representation
Command-based utility that reads files sequentially, writing them to standard output!
- Host: GitHub
- URL: https://github.com/magayaga/concat
- Owner: Magayaga
- Created: 2023-07-29T09:12:48.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-20T13:33:35.000Z (4 months ago)
- Last Synced: 2024-07-20T14:49:54.003Z (4 months ago)
- Topics: cat, command, linux, macos, terminal, type, unix, windows
- Language: C
- Homepage: https://magayaga.pages.dev/concat
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `concat`
`concat` command in Windows, Linux, and Unix operating systems is primarily used to display the contents of a file on the terminal. It was developed by [Cyril John Magayaga](https://github.com/magayaga) and written in **C**. The [`type`](https://github.com/MicrosoftDocs/windowsserverdocs/blob/main/WindowsServerDocs/administration/windows-commands/type.md) for Microsoft Windows and DOS operating systems and [`cat`](https://github.com/coreutils/coreutils/blob/master/src/cat.c) and [`nl`](https://github.com/coreutils/coreutils/blob/master/src/nl.c) for Linux and Unix operating systems.
`type` (Windows-based concatenare files) + `cat` (Unix-based concatenare files) + `nl` (Unix-based numbering lines) = `concat` is the new modern concatenate files!
## Getting Start### Windows, Linux, and Unix
```shell
# Download the Concat command
$ git clone https://github.com/Magayaga/Concat.git# Change the directory of the Concat
$ cd Concat# Run the program (batchfile)
$ ./make# or (make)
$ make# Open the application
$ ./concat README.md```
## Examples
```shell
# Concatenate files
$ ./concat examples/a.txt examples/b.txt
$ ./concat -A examples/a.txt examples/b.txt
$ ./concat examples/a.txt > examples/c.txt# Numbering lines
$ ./concat --nl examples/a.txt# REPL mode
$ ./concat --repl```
## Copyright
Copyright (c) 2023 - 2024 Cyril John Magayaga. All rights reserved.