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

[bug] () { echo $#} $'' is zero



Subject says it all. The empty string $'' is not passed to commands the same
way the empty strings "" and '' are:

    $ count () { echo $#; }
    $ count ""    # okay
    1
    $ count ''    # sure
    1
    $ count $''   # huh?
    0

Any clue as to what's going on?



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