https://github.com/realeroberto/bashlets-text
Text utilities package for the bashlets project.
https://github.com/realeroberto/bashlets-text
bash bashlets text utils
Last synced: 2 months ago
JSON representation
Text utilities package for the bashlets project.
- Host: GitHub
- URL: https://github.com/realeroberto/bashlets-text
- Owner: realeroberto
- Created: 2020-04-05T13:55:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-23T22:11:26.000Z (about 6 years ago)
- Last Synced: 2025-12-27T11:06:37.462Z (6 months ago)
- Topics: bash, bashlets, text, utils
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bashlets-text
Text utilities package for the [bashlets](https://github.com/reale/bashlets) project.
Specifically, this package contains the following modules:
* `bashlets.text.filter`: A collection of text filters
* `bashlets.text.parser`: Text parsers for Bashlets
## Installing
First install the bashlets [core distribution](https://github.com/reale/bashlets).
Then it is enough to do:
$ bashlets-install text
## Examples
### Convert ASCII to bin
$ source bashlets text::filter::ascii
$ bash$$ ascii to_bin hello
0110100001100101011011000110110001101111
### Convert text to punched cards
$ source bashlets text::filter::fancy
$ bash$$ text::filter::fancy::punch hello
_________________________________________________
/HELLO |
|]] |
| ]]] |
| |
|111111111111111111111111111111111111111111111111|
|222222222222222222222222222222222222222222222222|
|33]]33333333333333333333333333333333333333333333|
|444444444444444444444444444444444444444444444444|
|5]5555555555555555555555555555555555555555555555|
|6666]6666666666666666666666666666666666666666666|
|777777777777777777777777777777777777777777777777|
|]88888888888888888888888888888888888888888888888|
|999999999999999999999999999999999999999999999999|
_________________________________________________|