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

rm: No such file or directory #35

Closed
frodeaa opened this issue Dec 2, 2018 · 0 comments · Fixed by #36
Closed

rm: No such file or directory #35

frodeaa opened this issue Dec 2, 2018 · 0 comments · Fixed by #36

Comments

@frodeaa
Copy link
Contributor

frodeaa commented Dec 2, 2018

dasht-docsets-update

failed with error

rm: /Users/frode/.local/share/dasht/docsets/TypeScript.docset/Contents/Resources/Documents/www.typescriptlang.org/docs/handbook/release: No such file or directory

supect the issue is caused by space in path

find www.typescriptlang.org/docs/handbook -type d -name 'release*'
www.typescriptlang.org/docs/handbook/release notes
www.typescriptlang.org/docs/handbook/release-notes

dasht 2.3.0 (MacOS)

frodeaa added a commit to frodeaa/dasht that referenced this issue Dec 2, 2018
replace xargs with while read, avoid globbing

the same could be achived by using xargs with -0
(GNU/BSD) if newline is replaced with \0

    tr '\n' '\0' | xargs -0 sh -e -u -c '

but I think this solution is cleaner

fixes: sunaku#35
@sunaku sunaku closed this as completed in #36 Dec 5, 2018
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 a pull request may close this issue.

1 participant