Re: if eslif fi . . .in BASH
From: Goran Larsson (hoh_at_invalid.invalid)
Date: 05/12/03
- Next message: Nirav: "Directory Event"
- Previous message: Lew Pitcher: "Re: ip address validate routine?"
- In reply to: Reptilian Atrophy: "Re: if eslif fi . . .in BASH"
- Next in thread: Reptilian Atrophy: "Re: if eslif fi . . .in BASH"
- Reply: Reptilian Atrophy: "Re: if eslif fi . . .in BASH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 12 May 2003 14:27:21 GMT
In article <b9o5l3$l4rch$1@ID-82947.news.dfncis.de>,
Reptilian Atrophy <DavidG997@yahoo.com> wrote:
> what a ridiculous language bash is . elif
The use of ``elif'' is the same in sh, ksh, zsh, and any other shell
using the Bourne shell syntax, originally implemented in 1979. It is
also specified in the UNIX 93, UNIX 95 (Single UNIX Specification, SUS),
UNIX 98 (Single UNIX Specification V2, SUSv2), and POSIX (IEEE 1003.2)
standards.
> have to invent our own . . .
The ``if-then-elif-fi'' and ``case-in-esac'' structures of the Bourne
shell was implemented after the ``if-then-elif-fi'' and ``case-in-out-esac''
of Algol-68, i.e. a concept more than 35 years old.
> Frigging ridiculous.
Yes. Complaining when a shell follows standards is ridiculous.
-- Göran Larsson http://www.mitt-eget.com/
- Next message: Nirav: "Directory Event"
- Previous message: Lew Pitcher: "Re: ip address validate routine?"
- In reply to: Reptilian Atrophy: "Re: if eslif fi . . .in BASH"
- Next in thread: Reptilian Atrophy: "Re: if eslif fi . . .in BASH"
- Reply: Reptilian Atrophy: "Re: if eslif fi . . .in BASH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|