Skip to content

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

Notifications You must be signed in to change notification settings

mskelton/shexpand.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shexpand.lua

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

Installation

luarocks install shexpand

Usage

local shexpand = require('shexpand')

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

About

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

Topics

Resources

Stars

Watchers

Forks

Languages