[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: delimiters with more than one character? ...



On Thursday, 16 Jul 2020 at 13:30, Thomas Schmitt wrote:
> Eric S Fraga wrote:
>> echo " 34 + 45 \| abc \| 1 2 3 \| c\|123abc " | sed -e 's/\\|/\n/g'
>
> But how to get the lines into the array ?

See the "\n" (newline) in the replacement pattern?

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.3.7 on Debian bullseye/sid


Reply to: