Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: difficult alias



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 ";"?

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@xxxxxxxxx>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

Attachment: signature.asc
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author