Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: difficult alias
- X-seq: zsh-users 30629
- From: Klaus Ethgen <Klaus@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: difficult alias
- Date: Sun, 3 May 2026 20:26:50 +0100
- Archived-at: <https://zsh.org/users/30629>
- In-reply-to: <acec1e04-269d-4828-b3ba-6d0a88c96fb7@eastlink.ca>
- List-id: <zsh-users.zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Openpgp: id=79D0B06F4E20AF1C; url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt
- References: <acec1e04-269d-4828-b3ba-6d0a88c96fb7@eastlink.ca>
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