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

long string eval problem



Z(2):akr@localhost% Src/zsh -f
localhost% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst
localhost% _tst () { eval "$(perl -e 'print "_tst () {\n", "#" x 300000, "\n", "compadd xxx yyy\n}\n"')"; _tst "$@" }
localhost% tst <TAB><TAB>

This causes core dump.
-- 
Tanaka Akira



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