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

#367: Support BSD style output in touch rule #830

Merged
merged 1 commit into from Jul 29, 2018
Merged

#367: Support BSD style output in touch rule #830

merged 1 commit into from Jul 29, 2018

Conversation

scorphus
Copy link
Collaborator

On a Mac, also on NetBSD or OpenBSD, touch errs differently:

$ uname; touch a/b/c
Darwin
touch: a/b/c: No such file or directory

That gets matched by the rule but not fixed by it. Thus the regex pattern is now a bit more tolerant.

Thanks for any review and/or comment

On a Mac, also on NetBSD or OpenBSD, `touch` errs differently:

```
$ uname; touch a/b/c
Darwin
touch: a/b/c: No such file or directory
```

That gets matched by the rule but not fixed by it. Thus the regex
pattern is now a bit more tolerant.
@nvbn
Copy link
Owner

nvbn commented Jul 29, 2018

Thanks!

@nvbn nvbn merged commit cc6d909 into master Jul 29, 2018
@scorphus scorphus deleted the touch-bsd branch November 2, 2018 17:10
riley-martine pushed a commit to riley-martine/thefuck that referenced this pull request Dec 7, 2023
On a Mac, also on NetBSD or OpenBSD, `touch` errs differently:

```
$ uname; touch a/b/c
Darwin
touch: a/b/c: No such file or directory
```

That gets matched by the rule but not fixed by it. Thus the regex
pattern is now a bit more tolerant.
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.

None yet

2 participants