Re: Problem mit read (bash-builtin)
Hallo Ulf!
Ulf Volmer schrieb am Donnerstag, den 05. Juli 2012:
> On Thu, Jul 05, 2012 at 10:06:15AM +0200, Christian Brabandt wrote:
> > Ulf Volmer schrieb am Mittwoch, den 04. Juli 2012:
> >
> > > Klar, Backticks sind 'ne Altlast, laufen aber auch auf alten Unix- Büchsen.
> > > Wenn ich mich recht entsinne, steht das deprecated mittlerweile auch im
> > > Posix.
> >
> > Tut es das? Meines Wissens nach bisher nicht.
>
> Zumindest im aktuellen posix2008 steht:
>
> 2.6.3 Command Substitution
>
> Command substitution allows the output of a command to be substituted in place of the command name itself. Command substitution shall occur when the command is enclosed as follows:
>
> $(command)
>
> or (backquoted version):
>
> `command`
>
> http://pubs.opengroup.org/onlinepubs/9699919799/
>
Ja, das kenne ich. Aber ich hab da nichts von deprecated gesehen.
Grüße
Christian
--
Reply to: