Difference between revisions of "Chef: Editing a file"

From wikieduonline
Jump to navigation Jump to search
(Created page with " replace_or_add "why hello" do path "/some/file" pattern "Why hello there.*" line "Why hello there, you beautiful person, you." end == See also == * {{sed}} Cat...")
 
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
  replace_or_add "why hello" do
+
  [[replace_or_add]] "why hello" do
 
   path "/some/file"
 
   path "/some/file"
   pattern "Why hello there.*"
+
   [[pattern]] "Why hello there.*"
 
   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
  
  
 
== See also ==
 
== See also ==
 
* {{sed}}
 
* {{sed}}
 +
* {{Chef}}
  
 
[[Category:Chef]]
 
[[Category:Chef]]
 
[[Category:Sed]]
 
[[Category:Sed]]

Latest revision as of 05:18, 27 August 2021

Advertising: