Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/10sr/shell-split-string-el
Split Strings Using Shell-Like Syntax
https://github.com/10sr/shell-split-string-el
Last synced: 2 days ago
JSON representation
Split Strings Using Shell-Like Syntax
- Host: GitHub
- URL: https://github.com/10sr/shell-split-string-el
- Owner: 10sr
- License: unlicense
- Created: 2014-12-24T09:46:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-24T10:08:35.000Z (about 9 years ago)
- Last Synced: 2024-11-15T20:41:04.943Z (2 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 17.6 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/10sr/shell-split-string-el.svg?branch=master)](https://travis-ci.org/10sr/shell-split-string-el)
[![MELPA Stable](http://stable.melpa.org/packages/shell-split-string-badge.svg)](http://stable.melpa.org/#/shell-split-string)
[![MELPA](http://melpa.org/packages/shell-split-string-badge.svg)](http://melpa.org/#/shell-split-string)shell-split-string.el
=====================An Emacs lisp library to split string using shell-like syntax.
Usage Example
-------------`shell-split-string.el` simply provides one function: `shell-split-string`,
and it works like:```el
(shell-split-string "abc") -> '("abc")
(shell-split-string "abc def") -> '("abc" "def")
(shell-split-string "abc \"def ghi\"") -> '("abc" "def ghi")
(shell-split-string "abc 'de f'ghi") -> '("abc" "de fghi")
(shell-split-string "abc \"d\\\"ef\"") -> '("abc" "d\"ef")
```See test cases under `test/` for more examples how this function works.
License
--------This software is unlicensed. See `LICENSE` for more information,