https://linux.codidact.com/categories/60/tags/5839.rssNew Posts Tagged 'sed' - Linux SystemsLinux Systems - Codidact2024-03-11T18:57:40Zhttps://linux.codidact.com/posts/290285How to extract string from file, run filter, and replace in file with new value?Davidâ€https://linux.codidact.com/users/530542023-11-25T12:12:31Z2024-03-11T18:57:40Z<p><strong>TASK</strong></p>
<p>I am coding up ebooks to a specific standard, and have a script that converts a string into the correct titlecase for this publisher. When working with some public ...https://linux.codidact.com/posts/288541Can I enter raw strings in fish to avoid escaping regexes for sed?matthewsnyderâ€https://linux.codidact.com/users/613082023-06-19T21:41:02Z2023-06-21T19:12:14Z<p>When running <code>sed</code> through <code>fish</code>, I often encounter a problem with regexes. Many commonly used regex control characters like <code>[]{}().+</code> need to be escaped, even...https://linux.codidact.com/posts/284250Substituting text in a sed like manner but with a richer formatdeleted user#2021-09-19T11:28:52Z2021-09-23T13:20:57Z<p>I have the following problems working with <code>sed</code>:</p>
<ul>
<li>It doesn't allow multiline operations (thus, no indentations, no nesting)</li>
<li>It is generally obligatory to wrap...