CodePadawans / ataru

MIT License
37 stars 3 forks source link

Check if ataru supports wildcards #51

Closed schultyy closed 10 years ago

schultyy commented 10 years ago

Check if ataru can be used with wildcards from commandline like this:

$ ataru gogo *.md
moonglum commented 10 years ago

As the wildcard is a shell feature, this has nothing to do with Ataru. All Ataru has to support is the expanded version of the wildcard aka. multiple filenames which is the case IMHO.

Example:

#!/usr/bin/env ruby

p ARGV

Run it in a folder with a lot of thesis files via ./test.rb thesis:

["thesis.aux", "thesis.bbl", "thesis.blg", "thesis.lof", "thesis.log", "thesis.lot", "thesis.out", "thesis.toc"]
emig commented 10 years ago

prooved by @moonglum. Nice that responsability is already handled by the shell :)