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

Add dirname(dir, n::Integer) to go up multiple directories #53080

Open
LilithHafner opened this issue Jan 27, 2024 · 2 comments
Open

Add dirname(dir, n::Integer) to go up multiple directories #53080

LilithHafner opened this issue Jan 27, 2024 · 2 comments
Labels
duplicate Indicates similar issues or pull requests feature Indicates new feature / enhancement requests

Comments

@LilithHafner
Copy link
Member

I often write dirname(dirname(dirname(path))), I think it would be reasonable to have dirname(path, 3) do this.

@LilithHafner LilithHafner added the feature Indicates new feature / enhancement requests label Jan 27, 2024
@jariji
Copy link
Contributor

jariji commented Jan 28, 2024

See also #39042 (comment) for iterated functions

@LilithHafner LilithHafner added the duplicate Indicates similar issues or pull requests label Jan 28, 2024
@LilithHafner
Copy link
Member Author

Duplicate of #39031

@LilithHafner LilithHafner marked this as a duplicate of #39031 Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Indicates similar issues or pull requests feature Indicates new feature / enhancement requests
Projects
None yet
Development

No branches or pull requests

2 participants