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

Re: PATCH Re: 5.3: printf -



On Dec 14,  4:51pm, Daniel Shahaf wrote:
}
} The grandparent patch fixes all the cases given so far in this thread,
} except that "printf --" and "printf -- -" yield an error and "-",
} respectively - whereas in sh mode they should both print "--".

Bash prints an error and "-" respectively in those two cases as well,
so I think it's unclear what should happen for that in sh mode.

$ printf --
printf: usage: printf [-v var] format [arguments]



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