An open API service indexing awesome lists of open source software.

https://github.com/mskelton/shexpand.lua

Expand a string into a table of strings using shell brace expansion.
https://github.com/mskelton/shexpand.lua

brace-expansion luarocks

Last synced: 10 months ago
JSON representation

Expand a string into a table of strings using shell brace expansion.

Awesome Lists containing this project

README

          

# shexpand.lua

Expand a string into a table of strings using shell brace expansion.

## Installation

```bash
luarocks install shexpand
```

## Usage

```lua
local shexpand = require('shexpand')

shexpand.expand('a.{js,ts}')
shexpand.expand('{spec,test}.{js,ts}')
shexpand.expand('hi.gz{,ip}')
```