Project

General

Profile

Actions

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.

Status:
Released
Priority:
N/A
Assignee:
Jonathan CLARKE
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

The line sed -ne '/xxx/F' doesn't work on old unix machines.
It must be replaced by grep

Actions #1

Updated by Benoît PECCATTE over 10 years ago

  • 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
Actions #2

Updated by Jonathan CLARKE over 10 years ago

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.

Actions #3

Updated by Benoît PECCATTE over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #6

Updated by Jonathan CLARKE over 10 years ago

Actions #7

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released
Actions #8

Updated by Alexis Mousset over 2 years ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #9

Updated by Alexis Mousset over 2 years ago

  • Category set to Generic methods
Actions

Also available in: Atom PDF