Giter Club home page Giter Club logo

sorterfy's Introduction

Sorterfy

Sorterfy is a simple (and experimental) Clojure program designed to read lines from an input file, sort them, and write the sorted lines to an output file. This project is a great starting point for learning Clojure, especially for those new to the language.

This project serves as a proof of concept for my Clojure language studies.

Table of Contents

Features

  • Reads lines from a specified input file.
  • Sorts the lines alphabetically.
  • Writes the sorted lines to a specified output file.
  • Provides error handling for missing files or incorrect parameters.

Installation

To run Sorterfy, you need to have Clojure installed on your system. You can download Clojure from the official website.

Once Clojure is installed, clone this repository to your local machine:

git clone https://github.com/yourusername/sorterfy.git
cd sorterfy

Usage

To use Sorterfy, run the following command in your terminal. You will use the standalone jar file stored in target:

java -jar target/sorterfy-0.1.0-standalone.jar [input-file] [output-file]

Replace [input-file] with the path to the file you want to sort and [output-file] with the path where you want to save the sorted lines.

For example:

java -jar target/sorterfy-0.1.0-standalone.jar unsorted.txt sorted.txt

This command will read lines from unsorted.txt, sort them, and write the sorted lines to sorted.txt.

Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue on GitHub. If you'd like to contribute code, please fork the repository and submit a pull request.

License

Sorterfy is open-source software licensed under the MIT License. See the LICENSE file for more details.

sorterfy's People

Contributors

adaiasmagdiel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.