Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mike10004/smatterscripts
Scripts that cover a smattering of functionality I need to use from time to time.
https://github.com/mike10004/smatterscripts
Last synced: 15 days ago
JSON representation
Scripts that cover a smattering of functionality I need to use from time to time.
- Host: GitHub
- URL: https://github.com/mike10004/smatterscripts
- Owner: mike10004
- License: other
- Created: 2015-02-12T15:58:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T20:31:45.000Z (over 5 years ago)
- Last Synced: 2024-10-07T09:21:11.068Z (3 months ago)
- Language: Python
- Size: 219 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# smatterscripts
Scripts that cover a smattering of functionality I need to use from time to time.
## Installation
### Steps
$ git clone https://github.com/mike10004/smatterscripts.git
$ cd smatterscripts
$ ant install### Explanation
Clone the repository and execute `ant install` from the project root. This
generates executable scripts in `bin/` and links to them in `$HOME/.local/bin`.To add that directory to your `PATH` environment variable, edit `$HOME/.bashrc`
and add these lines:if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fiTo overwrite existing links in `.local/bin`, execute:
$ ant -Dinstall.overwrite=true install
## Uninstallation
$ cd
$ ant uninstall## Programs
* **smhisto** print histogram from CSV input data
* **smhtmljux** generate HTML page from CSV file to compare images side-by-side
* **smclusters** find clusters of graph input data in CSV
* **smcsv2sortable** format data for GNU **sort**
* **smressample** randomly sample lines from an input stream
* **smstreamproduct** concatenate lines from multiple input files## For Developers
### Adding a program to the set of installed files
Add a macro to generate the executable script in the `compile` target:
foo
This creates a launcher program in the `launchers` module and an executable
script in `/bin`.Then add a macro to create the symbolic link on your local filesystem:
foo
This creates a symbolic link in `$HOME/.local/bin`. To create the link
elsewhere, specify the destination as the `install_dir` property:$ ant -Dinstall_dir=/path/somewhere/else install