🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #49

bash requires trailing semicolons in functions

#49
From: Roland McGrath
Date: Fri, 23 Jun 1989 02:08
9 lines
508 bytes
bash won't accept

foo() { command }

It requires

foo() { command; }

Is there a reason for this?
Technical Details
Message-ID: <8906230208.AA01676@hobbes.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!AI.MIT.EDU!roland

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!AI.MIT.EDU!roland
From: roland@AI.MIT.EDU (Roland McGrath)
Newsgroups: gnu.bash.bug
Subject: bash requires trailing semicolons in functions
Message-ID: <8906230208.AA01676@hobbes.ai.mit.edu>
Date: 23 Jun 89 02:08:34 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 9