A ruby library to expand wildcard string like shell command line
License
maiha/wildcard
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Wildcard ======== A ruby library to expand wildcard string like shell command line Usage ===== Wildcard.expand("foo.{rb,yml}") => ["foo.rb", "foo.yml"] Wildcard.expand("file0{08..11}.dat") => ["file008.dat", "file009.dat", "file010.dat", "file011.dat"] # same as "% wget http://.../dance{01..16}.flv" on shell Wildcard.expand("http://.../dance{01..16}.flv").each do |url| system("wget #{url}") end Author ====== maiha@wota.jp
About
A ruby library to expand wildcard string like shell command line
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published