Get the App
SLTechnology News&Howtos  ›  Servers  › 

Problems encountered when adding regularization to sed commands

Shulou Source: shulou.com Published: 2022-06-03 04:55:14 11月17日 Update

The current time is required when looking up log keywords, so you can't use single quotes in sed-n, but keep reporting errors when using double quotes.

After checking some information, it was not solved very well, and then inadvertently added an escape character before $.

Tags: Quotation marks keywords keywords inadvertently logs time data escape commands rules questions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Docker Huawei Apple MariaDB