Re: difficult alias

Ray Andrews <[email protected]> Sun, 3 May 2026 13:26:15 -0700
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <[email protected]>

On 2026-05-03 12:26, Klaus Ethgen wrote:
> Hi,
>
> Am So den  3. Mai 2026 um 15:23 schrieb Ray Andrews:
>> % alias tst='echo $var | fold -sw 80 | sed '\':a;N;$!ba;s/\n/\n /g\'''
>> zsh: command not found: N
>> zsh: now is the time not found
> Is it just me or are you using an unquoted ";"?
I gave up trying to fix it.  There's three levels of quotes as it is.  
As Eric said, just make it a function and there's no issue.

>
> Regards
>     Klaus