bug-bash
[Top][All Lists]
Advanced

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

Re: bash dislikes empty functions or flow control bodies


From: Oğuz
Subject: Re: bash dislikes empty functions or flow control bodies
Date: Tue, 18 Jan 2022 18:14:46 +0200

18 Ocak 2022 Salı tarihinde <l.bashbug@scarydevilmonastery.net> yazdı:

> [...] those situation exist and require me to catch this problem
> with additional code:
>    a: defining an empty function will throw a syntax error
>    b: defining an empty bodies flow control construct will thow a syntax
> error
>

Why make it a special case? What's wrong with prepending all of them with
`:;'?


-- 
Oğuz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]