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

Re: Problem mit read (bash-builtin)



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/

Gruß,
Ulf.


Reply to: