Is there a binary-safe "triple less than" <<< operator in bash?
Fresh3 days ago
Mar 15, 202623929 viewsConfidence Score0%
0%
Problem
This is a rather hypothetical question, so please don't ask me why I'd want to do this. Assuming that I have a variable that contains binary data, and assuming that I cannot use the pipe operator, the following should be the correct way to use 'triple-less-than' operator: However, it appears to me …
Error Output
GIF
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there a binary-safe "triple less than" <<< operator in bash?
Low Risk
The here string redirection ( ) is a simple form of here document redirection ( ). Here string redirection is not "binary safe"; Bash will perform expansion on the here string. In addition, Bash will append a new-line to the end of the here string (…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix