Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snektron/snake-tools
Snakes don't like working with archaic unix tools
https://github.com/snektron/snake-tools
Last synced: about 2 months ago
JSON representation
Snakes don't like working with archaic unix tools
- Host: GitHub
- URL: https://github.com/snektron/snake-tools
- Owner: Snektron
- Created: 2023-08-23T18:45:24.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-23T18:50:40.000Z (over 1 year ago)
- Last Synced: 2023-08-23T20:27:09.287Z (over 1 year ago)
- Language: Zig
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snake-tools
Some snakes get sad when they have to use `cut` or `killall` and it doesn't do what they want. This repository is for such snakes.
## Goal
Replacement for some coreutils or busyboxutils that are not very useful in their original form. Shortlist:
- [x] `cut`
- Cut splits by tab on default, and we cannot make it split on multiple characters. This is pretty useless since most tools output space-delimited data. Even in those cases, it doesn't properly work. The `cut` replacement (`fields`) splits on whitespace by default.
- [ ] `killall` / `kill`
- killall is just useless. I type `killall firefox` and nothing happens. The replacement should match on argv[0] instead. The idea is to write a `kill` alternative (`unalive`) that takes a list of PIDs from stdin.