https://github.com/10sr/shell-split-string-el
Split Strings Using Shell-Like Syntax
https://github.com/10sr/shell-split-string-el
Last synced: 4 months 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-24T10:08:35.000Z (over 9 years ago)
- Last Synced: 2025-01-16T09:08:01.811Z (6 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
[](https://travis-ci.org/10sr/shell-split-string-el)
[](http://stable.melpa.org/#/shell-split-string)
[](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,