Bug #5403
closed
Bug #5397: The file_from_template generic method can not use mustache templates on pre-3.6 CFEngine
F is not a posix sed command
Added by Benoît PECCATTE over 10 years ago.
Updated over 2 years ago.
Description
The line sed -ne '/xxx/F' doesn't work on old unix machines.
It must be replaced by grep
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/ncf/pull/101
Benoît, please name your bugs according to the problem they create, not the technical cause. In this case, something like "ncf's helper to read inputs is not POSIX-compliant (sed -F option)" would be more appropriate. It is important that a user understand how the ticket could impact him.
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
- Category set to Generic methods
Also available in: Atom
PDF