Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sshaw/pipeopts
Getopts for process pipelines
https://github.com/sshaw/pipeopts
arguments builtin c getopt processing-pipelines
Last synced: 15 days ago
JSON representation
Getopts for process pipelines
- Host: GitHub
- URL: https://github.com/sshaw/pipeopts
- Owner: sshaw
- Created: 2013-12-26T05:36:31.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-28T06:44:09.000Z (almost 11 years ago)
- Last Synced: 2024-10-10T18:53:49.772Z (about 1 month ago)
- Topics: arguments, builtin, c, getopt, processing-pipelines
- Language: C
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pipeopts
Getopts for process pipelines
## Synopsis
# list recently modified files
lr() {
pipeopts "adl|n:c:" "$*"
ls -t ${PIPEOPTS[0]} | head ${PIPEOPTS[1]}
}# now run it
lr -aln25## Description
`pipeopts` is a Bash builtin that helps you pass arguments to process pipelines.
## Etc...
Internal Bash functions, useful when writing loadable builtins: https://gist.github.com/sshaw/8017032