Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnkerl/miller
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
https://github.com/johnkerl/miller
command-line command-line-tools csv csv-format data-cleaning data-processing data-reduction data-regression devops devops-tools json json-data miller statistical-analysis statistics streaming-algorithms streaming-data tabular-data tsv unix-toolkit
Last synced: 3 days ago
JSON representation
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
- Host: GitHub
- URL: https://github.com/johnkerl/miller
- Owner: johnkerl
- License: other
- Created: 2015-05-03T23:00:37.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T16:16:50.000Z (about 2 months ago)
- Last Synced: 2024-11-08T01:45:29.910Z (about 1 month ago)
- Topics: command-line, command-line-tools, csv, csv-format, data-cleaning, data-processing, data-reduction, data-regression, devops, devops-tools, json, json-data, miller, statistical-analysis, statistics, streaming-algorithms, streaming-data, tabular-data, tsv, unix-toolkit
- Language: Go
- Homepage: https://miller.readthedocs.io
- Size: 201 MB
- Stars: 8,957
- Watchers: 70
- Forks: 216
- Open Issues: 110
-
Metadata Files:
- Readme: README-RPM.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesomeLibrary - miller - Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON (语言资源库 / go)
- awesome-ops - johnkerl/miller - 05-03|2024-10-05 | 类似于 awk、sed、cut、join 和 sort,用于 CSV、TSV 和表格 JSON 等名称索引数据 | (终端命令行工具)
- awesome-starred-test - johnkerl/miller - Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON (Go)
- my-awesome-github-stars - johnkerl/miller - Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON (Go)
- awesome-github-repos - johnkerl/miller - Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON (Go)
- awesome-repositories - johnkerl/miller - Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON (Go)
- go-awesome - miller - a sed, awk, cut, join and sort-like tool for manipulating data based on named indexes (Open source library / Terminal Tools)
- StarryDivineSky - johnkerl/miller
- my-awesome - johnkerl/miller - line,command-line-tools,csv,csv-format,data-cleaning,data-processing,data-reduction,data-regression,devops,devops-tools,json,json-data,miller,statistical-analysis,statistics,streaming-algorithms,streaming-data,tabular-data,tsv,unix-toolkit pushed_at:2024-12 star:9.0k fork:0.2k Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON (Go)
README
## Instructions to make Miller source/binary RPMs for the RPM-experienced
Grab `miller.spec` and go to town.
## Instructions to make Miller source/binary RPMs for the RPM-inexperienced
### One-time setup
Change `6.2.0` to desired version. Release-package example:https://github.com/johnkerl/miller/releases/download/v6.2.0/miller-6.2.0.tar.gz
```
cd
mkdir ~/rpmbuild
mkdir ~/rpmbuild/SPECS
mkdir ~/rpmbuild/SOURCES
cp /your/path/to/miller/clone/miller.spec ~/rpmbuild/SPECS
cp /your/path/to/miller-6.2.0.tar.gz ~/rpmbuild/SOURCEScd ~/rpmbuild/SPECS
```You may need to do
```
sudo yum install rpmbuild
```### Linting
If you have changed the `miller.spec` file:
```
rpmlint miller.spec
```
You may need to do
```
sudo yum install rpmlint
```### Build source-RPM only
```
rpmbuild -bs miller.spec
Wrote: /your/home/dir/rpmbuild/SRPMS/miller-6.2.0-1.el6.src.rpm
``````
rpm -qpl ../SRPMS/miller-6.2.0-1.el6.src.rpm
miller-6.2.0.tar.gz
miller.spec
``````
rpm -qpi ../SRPMS/miller-6.2.0-1.el6.src.rpm
Name : mlr Relocations: (not relocatable)
Version : 6.2.0 Vendor: (none)
...
```### Build source and binary RPMs
```
rpmbuild -ba miller.spec
``````
rpm -qpl ../RPMS/x86_64//miller-6.2.0-1.el6.x86_64.rpm
/usr/bin/mlr
/usr/share/man/man1/mlr.1.gz
``````
sudo rpm -ivh ../RPMS/x86_64/miller-6.2.0-1.el6.x86_64.rpm
Preparing... ########################################### [100%]
1:mlr ########################################### [100%]
``````
/usr/bin/mlr --version
Miller 6.2.0man -M /usr/share/man mlr
```
and check the version in the DESCRIPTION section.