SahibCore - The command line utility for the masses! So I was bored on my computer, played some Minecraft, and then I was thinking: "Hey! I know how to make Java programs take arguments. And I always wanted a command line application. How about I make one?" And so I did. What is SahibCore? SahibCore is a command line utility, which means you run it from your Command Prompt or terminal. It has a variety of uses. It creates random numbers. It finds the square root of integers (and gives an integer, so no decimal square roots). It squares integers. And it even repeats what you say. You might think that isn't a lot, but this is only version 1. Out of like, 200. How do I open the Command Prompt or Terminal? On Windows, open up your Start Menu (or Start Screen) and search "cmd". Click the one that shows a black window with a white C:/ on it. How do I use SahibCore? Where you have saved SahibCore, use Command Prompt to go there. (For example, if you saved it in C:/Users/Sahib/Downloads, type "cd C:/Users/Sahib/Downloads" into Command Prompt and hit Enter. For Linux, do the same thing. If you saved it into /usr/sahib/downloads, type "cd /usr/sahib/downloads" and hit ENTER.) Then, type "sahibcore help" and hit ENTER. It will show you a bunch of stuff. You type that after sahibcore. For example, it says "randomint [min int] [max int]". Ints (Integers) are numbers without decimals, so if you type "sahibcore random 1 100" into Command Prompt or Terminal and hit ENTER, it will show a random number without decimals between 1 and 100. Seems complex, but it really isn't. How did you create SahibCore? I coded it in Java 8, and compiled it with Excelsior JET (excelsiorjet.com). I got the beta version (which is an evaluation). Where can I get SahibCore? You can get SahibCore here: https://dl.dropboxusercontent.com/u/28315077/sahibcore.exe What do I need to use SahibCore? On Windows, you simply need Java 8. On Linux, you need Java and something that will allow you to run .exe files on Linux. Wine is a good choice.
can i make a .sh installer for this? The idea is that it will add sahibcore to /bin so you can run sahib core simply by entering sahibcore in the terminal. It could also keep it up to date.
Code: #!/bin/bash if [-E /usr/bin/sahibcore]; then sudo rm /usr/bin/sahibcore sudo wget https://initializesahib.github.io/binaries/sahibcore -o /usr/bin/sahibcore else sudo wget https://initializesahib.github.io/binaries/sahibcore -o /usr/bin/sahibcore fi what, you mean like this?
That script already updates to the newest version, no ckecks needed. I don't see how sophistication will improve on it. Anyways, go ahead.