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

Re: print built-in doesn't print this.



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