FG

grep changing the delimiter

Fresh3 days ago
Mar 15, 202633097 views
Confidence Score0%
0%

Problem

any way we can change the delimiter that uses grep? I think, by default, grep uses as the delimiter.

Error Output

\n

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: grep changing the delimiter

Low Risk

Replace the zero-delimiter ('@') with a newline (\n) before grep: cat file | tr '\00' '\n' | grep "search-string"

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment