You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bash completion: tail: cannot open ‘+2’ for reading: No such file or directory #7304
When using bash completion feature, I get the error:
tail: cannot open ‘+2’ for reading: No such file or directory
The bash completion ( #6730 ) has an issue because it uses "tail +2" which isn't supported by coreutils-8.22-24.el7 (RHEL/CentOS) implementation of the command tail. The tail specification requires using using -n prefix, so use tail -n +2
@finkr To be transparent: I'm working on a proposal that will completely remove the code affected. However your PR would still be useful for the bug releases leading up to helm 3.1 and, of course, in the case my proposal is not accepted.
Activity
marckhouzam commentedon Dec 28, 2019
I was afraid some shell differences would start showing up to cause trouble.
@finkr would you be interested in posting a PR?
finkr commentedon Dec 28, 2019
Yes, i will
marckhouzam commentedon Dec 28, 2019
@finkr To be transparent: I'm working on a proposal that will completely remove the code affected. However your PR would still be useful for the bug releases leading up to helm 3.1 and, of course, in the case my proposal is not accepted.
marckhouzam commentedon Dec 31, 2019
Thanks @finkr for reporting and fixing this bug!
Add completion test on centos
Add completion test on centos
marckhouzam commentedon Dec 31, 2019
I've created a PR to the https://github.com/helm/acceptance-testing repo to make sure completion continues to work as expected on centos: helm/acceptance-testing#67
Add completion test on centos