zsh-workers
 help / color / mirror / code / Atom feed
* Buggy zed function
@ 2006-01-10 16:10 Vincent Lefevre
  2006-01-10 16:47 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Lefevre @ 2006-01-10 16:10 UTC (permalink / raw)
  To: zsh-workers

The zed function is buggy. After typing:

fctest() {
cat <<EOF
foo
bar
EOF
}

I got the following (with zsh 4.2.6 and zsh 4.3.0-dev-2). Note: in zed,
I immediately type Ctrl-J to accept.

dixsept% which fctest
fctest () {
        cat <<< 'foo
bar'
}
dixsept% fctest
foo
bar
dixsept% autoload zed
dixsept% zed -f fctest
fctest () {
        cat <<< 'foo
bar'
}
dixsept% which fctest
fctest () {
        cat <<< "'foo
bar'"
}
dixsept% fctest
foo
bar
dixsept% zed -f fctest
fctest () {
        cat <<< "'foo
bar'"
}
dixsept% which fctest 
fctest () {
        cat <<< ""'foo
bar'""
}
dixsept% fctest
'foo
bar'

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-10 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-10 16:10 Buggy zed function Vincent Lefevre
2006-01-10 16:47 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).