Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/caius/swcat

cat(1) clone in Swift
https://github.com/caius/swcat

cat unix-command

Last synced: about 1 month ago
JSON representation

cat(1) clone in Swift

Awesome Lists containing this project

README

        

# swcat

[cat(1)](http://www.freebsd.org/cgi/man.cgi?cat(1)) *partial* clone in Swift.

Currently supports reading from stdin and writing to stdout with no arguments given, or reading filenames from given arguments.

## Usage

Reading stdin to stdout:

```bash
$ echo "hi" | swcat
hi
```

Reading multiple files, including ones that don't exist:

```bash
$ swcat bling.txt count.txt
swcat: bling.txt: No such file or directory
1
2
3
4
5
```

## License

```bash
$ swcat LICENSE
```