💾 Archived View for freeshell.de › tldr › ned.gmi captured on 2023-04-20 at 00:16:44. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Is like `grep` but with powerful replace capabilities.
Unlike `sed`, as it isn't restricted to line oriented editing.
ned --ignore-case --recursive '{^[dl]og}' {.}
ned --colors '{^[dl]og}' {.}
ned --colors=never '{^[dl]og}' {.}
ned --recursive --exclude '{*.htm}' '{^[dl]og}' {.}
ned '{dog}' --replace '{cat}' {.}
ned '{the ([a-z]+) dog and the ([a-z]+) dog}' --replace '{the $2 dog and the $1 dog}' {.}
ned '{([a-z]+) dog}' --case-replacements --replace '{\U$1\E! dog}' --stdout {.}
ned '{^[sb]ad}' --replace '{happy}' --stdout {.}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).