Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Buggy zed function
- X-seq: zsh-workers 22150
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Buggy zed function
- Date: Tue, 10 Jan 2006 17:10:21 +0100
- Mail-followup-to: Vincent Lefevre <vincent@xxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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@xxxxxxxxxx> - 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author