[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bashisms

> Adrian Bridgett <adrian.bridgett@zetnet.co.uk> writes:
> >   cp fred.{txt,html} dest    ->   cp fred.txt fred.html dest
> >   function f() {echo Hi;}    ->   f() {echo Hi;}

should be
f(){ echo Hi;}
you MUST have a space after the opening brace.  Of course, extra
spaces are legal:

   f  (  )  {  echo  Hi  ;  }


TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: