Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# Replace string "string1" with "string2" in group of files in group of subfolders with similar structure
sed -i 's/string1/string2/g' ./**/src/main/resources/*.cfg

# Remove line that contain string "string1" in group of files in group of subfolders with similar structure
sed -i '/string1/d' ./**/src/main/resources/project.cfg


# Crate links from JIRA tickets names (pattern like PROJ-1232)
sed -i 's/PROJ-[0-9]*/<a href="https:\/\/jira.example.com\/browse\/&">&<\/a>/' tickets_list.txt

...