Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rabestro/exercism-solutions-awk
Solutions for the AWK track
https://github.com/rabestro/exercism-solutions-awk
awk awk-lang awk-language awk-script exercise-solutions exercism exercism-solutions
Last synced: 14 days ago
JSON representation
Solutions for the AWK track
- Host: GitHub
- URL: https://github.com/rabestro/exercism-solutions-awk
- Owner: rabestro
- License: mit
- Created: 2024-03-23T21:03:16.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T15:34:42.000Z (4 months ago)
- Last Synced: 2024-11-07T11:51:48.146Z (2 months ago)
- Topics: awk, awk-lang, awk-language, awk-script, exercise-solutions, exercism, exercism-solutions
- Language: Shell
- Homepage: https://exercism.org/tracks/awk
- Size: 298 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: change/README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWK Solutions for Exercism
## Description
This repository contains my solutions for Exercism exercises, written in Gnu AWK. Each solution is in its own folder, which includes the AWK script for the solution, a test file in Bats, and a README with the exercise description.
Please note that these solutions are tested on Gnu AWK and may not work on older versions of AWK. Some solutions may require additional variables to be set via the `-v` key. You can check the tests for each solution to see the correct command to use.
As a contributor to the AWK track on Exercism, I'm the author of two exercises:
- [Automated readability index](https://exercism.org/tracks/awk/exercises/automated-readability-index)
- [Mazy Mice](https://exercism.org/tracks/awk/exercises/mazy-mice)## Installation
To run these solutions locally, you'll need to install Gnu AWK and Bats.
- For Gnu AWK, you can typically find it preinstalled on Unix-like operating systems. For Windows, you can install it through [Cygwin](https://www.cygwin.com/). Make sure you're using Gnu AWK, as these solutions may not work on older versions of AWK.
- For Bats, you can find installation instructions on the [Bats GitHub page](https://github.com/bats-core/bats-core#installation).## Usage
To run a solution, navigate to its directory and run the AWK script with the `awk -f` command. For example:
```bash
awk -f solution.awk
```## Contributing
Feedback and suggestions are welcome. If you have an idea for how to improve a solution, feel free to open an issue or a pull request.
## License
This project is licensed under the MIT License. See the LICENSE file for details.