grep
正規表現を使用せずに正確な文字列を検索する(または別のコマンドを使用する)方法はありますか?
たとえば、(文字通り)検索したい場合:
/some/file"that/has'lots\of"invalid"chars/and.triggers$(#2)[*~.old][3].html
私はすべての「逃げる」を通り抜けて逃げたくありません。基本的に、私はそれを通過させたいと思いecho
ます:
$ echo "/some/file\"that/has'lots\of\"invalid\"chars/and.triggers$(#2)[*~.old][3].html"
/some/file"that/has'lots\of"invalid"chars/and.triggers$(#2)[*~.old][3].html