in reply to Re^2: Reformat command output inline
in thread Reformat command output inline

It can, i.e. you can start the regex with s/^\n| , but it doesn't change the output. Moving the newline to the end for the dn: line was essential to make it work for the first record.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^4: Reformat command output inline
by RenMcCourtey (Acolyte) on Jun 29, 2016 at 14:10 UTC
    I see, I have to remove endline $. Well, it was more regex question. Thanks again for taking time to answer.