Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/g1eng/giosh
a POSIX INCOMPLIENT shell, written in go
https://github.com/g1eng/giosh
Last synced: 2 months ago
JSON representation
a POSIX INCOMPLIENT shell, written in go
- Host: GitHub
- URL: https://github.com/g1eng/giosh
- Owner: g1eng
- License: bsd-2-clause
- Created: 2021-05-09T14:57:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-24T15:19:27.000Z (about 3 years ago)
- Last Synced: 2024-06-21T09:37:48.381Z (7 months ago)
- Language: Go
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
[![Circle CI](https://circleci.com/gh/g1eng/giosh.svg?style=shield)](https://app.circleci.com/pipelines/github/g1eng/giosh)
[![codecov](https://codecov.io/gh/g1eng/giosh/branch/master/graph/badge.svg?token=2F9PE0MC9B)](https://codecov.io/gh/g1eng/giosh)giosh (generic IO shell) is a multipurpose command line shell written in Go.
giosh is not:
* a POSIX compliant shell
* a shell language with multi-line lexical scope
* a virtual machine with a new (environmental) variable declaration mechanism# Supported features
* Command invokation with PATH resolving
* pipe# Usage
1. Simply invoke it. You can use giosh with interactive mode.
```shell
$ giosh
@G[1]> ls -l | grep m | sed -r -e s/.+[[:blank:]]//g
README.md
cmd
main.go
```2. Read giosh script
```shell
$ giosh some_script
```3. Read an oneliner from the standard input
(Standard input for giosh must be an oneliner)```shell
$ awesome_script | awesome_command | giosh
```# Limitation
At now, giosh is released under limitations (really so limited in the function).
Following mechanisms are not supported:
* comment line
* escape character \\
* arrow keys and command history
* redirection with file descriptor
* hear strings or hear document
* variable declaration
* variable reference (env value is not directly available)
* variable expansion and command replacement
* background jobs (&)
* builtin commands# Authors
Suzume Nomura [@g1eng](https://github.com/g1eng)
Okadarien Saru -