Difference between revisions of "Chef: Editing a file"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
line "Why hello there, you beautiful person, you." | line "Why hello there, you beautiful person, you." | ||
end | end | ||
+ | |||
+ | == Related terms == | ||
+ | * https://github.com/sous-chefs/line/blob/main/documentation/resources/replace_or_add.md | ||
Revision as of 06:55, 27 July 2021
replace_or_add "why hello" do path "/some/file" pattern "Why hello there.*" line "Why hello there, you beautiful person, you." end
Related terms
See also
Advertising: