Man page - str_replace(1)
Packages contains this manual
- unicode-show(1)
- str_replace(1)
- apparmor-info(8)
- stdisplay(1)
- limit-medium(1)
- upgrade-nonroot(8)
- limit-low(1)
- ld-system-preload-disable(8)
- apparmor-watch(8)
- leaktest(8)
- dpkg-noninteractive(8)
- anon-consensus-del(8)
- pwchange(8)
- chmod-calc(1)
- lsmod-deterministic(8)
- dummy-dependency(8)
- apt-get-noninteractive(8)
apt-get install helper-scripts
Manual
STR_REPLACE
NAMESYNOPSIS
DESCRIPTION
RETURN VALUES
EXAMPLE
NOTES
AUTHOR
NAME
str_replace - literal search and replace in files (in place) and in STDIN
SYNOPSIS
str_replace Search Replace File
DESCRIPTION
Non-Regex text search and replace for linux
str_replace will enable you to do literal search and replace in files (in place) and in STDIN
No messing with regular expression anymore. No more sed or awk or perl -pie . This handy script written in perl will replace text exactly as you want, No matter it has the so-called special characters or not. Just like str_replace PHP function.
RETURN VALUES
0 ok.
1 syntax error.
2 if file not found.
EXAMPLE
To read input from STDIN and write to STDOUT.
STDIN | str_replace Search Replace
NOTES
|
β’ |
Search and replace always case-sensitive |
|||
|
β’ |
Always do global Search and replace |
|||
|
β’ |
Donβt care about lines. |
|||
|
β’ |
It may work in Windows as well. |
|||
|
β’ |
tested with unicode (I surprised it worked correctly!) |
AUTHOR
This man page has been compiled and modified by Patrick Schleizer (adrelanos@whonix.org) based contains contents from https://github.com/Samer-Al-iraqi/Linux-str_replace/blob/master/README.md Copyright: Copyright (c) 2016 Samer-Al-iraqi License: MIT License