# ock
> **⚠️ Archived — no longer maintained.** This repository is archived and read-only. The last published version remains available on [crates.io](https://crates.io/crates/ock). Feel free to fork.
[](https://crates.io/crates/ock)
[](https://opensource.org/licenses/MIT)
`ock` is a lightweight command-line tool for slicing tabular data. It covers many everyday awk tasks with a simpler, faster interface.
## Features
- Select columns by index or header
- Slice rows and columns with Python-like ranges
- Filter using regular expressions
- Work with custom row and column delimiters
## Installation
### From crates.io
```sh
cargo install ock
```
### Using cargo-binstall
```sh
cargo binstall ock
```
### Pre-built binaries
Download pre-built binaries for your platform from the [releases page](https://github.com/williamwmarx/ock/releases).
Available for:
- Linux (x86_64, aarch64)
- macOS (x86_64, Apple Silicon)
- Windows (x86_64)
## Usage
### Select columns
```bash
```
### Slice rows
```bash
```
### Filter with regex
```bash
```
### Custom delimiters
```bash
ock -r 1:10 -c 1,5 --column-delimiter ',' data.csv
```
### Combine operations
```bash
Out-of-bounds selections produce a warning and no output.
## License
MIT license. See [LICENSE](LICENSE) for details.