Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow "globbing" filenames #6

Merged
merged 1 commit into from
May 8, 2017

Conversation

calebhearth
Copy link
Contributor

This is useful for a case where the filename is not known, such as when
a migration is generated in Rails and we want to write into the
migration file. We can replace the migration number with "*" to glob the
filename to append/write/remove.

If there are more than one file matching the glob, an error is raised.

This is useful for a case where the filename is not known, such as when
a migration is generated in Rails and we want to write into the
migration file. We can replace the migration number with "*" to glob the
filename to append/write/remove.

If there are more than one file matching the glob, an error is raised.
@schneems
Copy link
Member

Can you put an example of globbing in the README ?

Also did we ever figure out if piping contents to a file.append command go to the contents or to the file name?

@schneems schneems merged commit e2047dd into zombocom:master May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants