Filipus Klutiero wrote:

$ function bar () (echo x)
---
That's not a compound command.

They start with {
and end with }
you must have spaces between the braces and anything else,
and the } must be after a LF or a semicolon



I suspect this is an upstream bug.

--- System information. ---
Architecture: i386
Kernel: Linux 3.12-1-amd64

Debian Release: jessie/sid
990 testing debian.mirror.iweb.ca
500 unstable debian.mirror.iweb.ca
1 experimental ftp3.nrc.ca

--- Package information. ---
Depends (Version) | Installed
===========================-+-============
base-files (>= 2.1.12) | 7.2
debianutils (>= 2.15) | 4.4


Recommends (Version) | Installed
===================================-+-================
bash-completion (>= 20060301-0) | 1:2.1-2


Suggests (Version) | Installed
=======================-+-===========
bash-doc | 4.3-2



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to