function sayhello() { echo hello }
OR
sayhello() { echo hello }
Et en one-line :
sayhello() { echo hello; }