Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: print built-in doesn't print this.
- X-seq: zsh-users 27340
- From: Norbert Zeh <norbert.zeh@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: print built-in doesn't print this.
- Date: Sun, 14 Nov 2021 15:27:57 -0400
- Archived-at: <https://zsh.org/users/27340>
- In-reply-to: <20211114111957.4514@sachi>
- List-id: <zsh-users.zsh.org>
- References: <20211114111957.4514@sachi>
Print seems to parse the ‘-----------------‘ as command line options, which you can test using “print ‘------------------0’”. If you type “print -- ‘-----------------‘“, you get the result you want.
Cheers,
Norbert Zeh
norbert.zeh@xxxxxxxxx
> On Nov 14, 2021, at 3:19 PM, jdh <dhenman@xxxxxxxxx> wrote:
>
> CAUTION: The Sender of this email is not from within Dalhousie.
>
> I wanted to insert a string of '-'s to visually show a change in a list.
> But I found out that
>
> print "--------"
>
> Does not print anything out. Well maybe a \n.
> Is this intentional? Or a well known feature?
>
> DH
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author